diff --git a/.claude/skills/docs-writer-blog/SKILL.md b/.claude/skills/docs-writer-blog/SKILL.md index ef28225f8..baa21c34d 100644 --- a/.claude/skills/docs-writer-blog/SKILL.md +++ b/.claude/skills/docs-writer-blog/SKILL.md @@ -159,7 +159,7 @@ See [How to Upgrade to React X.Y](/blog/YYYY/MM/DD/react-xy-upgrade-guide) for s ### React {/*react*/} -* Add `useNewHook` for [purpose]. ([#12345](https://github.com/facebook/react/pull/12345) by [@contributor](https://github.com/contributor)) +* Add `useNewHook` for [purpose]. ([#12345](https://github.com/react/react/pull/12345) by [@contributor](https://github.com/contributor)) --- @@ -603,7 +603,7 @@ npm install react@latest react-dom@latest | Type | Pattern | |------|---------| -| GitHub PR | `[#12345](https://github.com/facebook/react/pull/12345)` | +| GitHub PR | `[#12345](https://github.com/react/react/pull/12345)` | | GitHub user | `[@username](https://github.com/username)` | | Twitter/X | `[@username](https://x.com/username)` | | Bluesky | `[Name](https://bsky.app/profile/handle)` | @@ -623,8 +623,8 @@ For more information, see the docs for [`useActionState`](/reference/react/useAc ### Bullet Pattern ```markdown -* Add `useTransition` for concurrent rendering. ([#10426](https://github.com/facebook/react/pull/10426) by [@acdlite](https://github.com/acdlite)) -* Fix `useReducer` observing incorrect props. ([#22445](https://github.com/facebook/react/pull/22445) by [@josephsavona](https://github.com/josephsavona)) +* Add `useTransition` for concurrent rendering. ([#10426](https://github.com/react/react/pull/10426) by [@acdlite](https://github.com/acdlite)) +* Fix `useReducer` observing incorrect props. ([#22445](https://github.com/react/react/pull/22445) by [@josephsavona](https://github.com/josephsavona)) ``` **Structure:** `Verb` + backticked API + description + `([#PR](url) by [@user](url))` diff --git a/.claude/skills/react-expert/SKILL.md b/.claude/skills/react-expert/SKILL.md index 5ebcdee37..c252f6ce0 100644 --- a/.claude/skills/react-expert/SKILL.md +++ b/.claude/skills/react-expert/SKILL.md @@ -32,7 +32,7 @@ This skill produces exhaustive documentation research on any React API or concep 2. **React Source Code** - Warnings, errors, implementation details 3. **Git History** - Commit messages with context 4. **GitHub PRs & Comments** - Design rationale (via `gh` CLI) -5. **GitHub Issues** - Confusion/questions (facebook/react + reactjs/react.dev) +5. **GitHub Issues** - Confusion/questions (react/react + reactjs/react.dev) 6. **React Working Group** - Design discussions for newer APIs 7. **Flow Types** - Source of truth for type signatures 8. **TypeScript Types** - Note discrepancies with Flow @@ -51,7 +51,7 @@ First, ensure the React repo is available locally: if [ -d ".claude/react" ]; then cd .claude/react && git pull origin main else - git clone --depth=100 https://github.com/facebook/react.git .claude/react + git clone --depth=100 https://github.com/react/react.git .claude/react fi ``` @@ -71,8 +71,8 @@ Spawn these agents IN PARALLEL using the Task tool. Each agent receives the skep | test-explorer | Explore | Test files for usage patterns | Search `.claude/react/packages/*/src/__tests__/` for test files mentioning the topic. Extract actual usage examples WITH file paths and line numbers. | | source-explorer | Explore | Warnings/errors in source | Search `.claude/react/packages/*/src/` for console.error, console.warn, and error messages mentioning the topic. Document trigger conditions. | | git-historian | Explore | Commit messages | Run `git log --all --grep="" --oneline -50` in `.claude/react`. Read full commit messages for context. | -| pr-researcher | Explore | PRs introducing/modifying API | Run `gh pr list -R facebook/react --search "" --state all --limit 20`. Read key PR descriptions and comments. | -| issue-hunter | Explore | Issues showing confusion | Search issues in both `facebook/react` and `reactjs/react.dev` repos. Look for common questions and misunderstandings. | +| pr-researcher | Explore | PRs introducing/modifying API | Run `gh pr list -R react/react --search "" --state all --limit 20`. Read key PR descriptions and comments. | +| issue-hunter | Explore | Issues showing confusion | Search issues in both `react/react` and `reactjs/react.dev` repos. Look for common questions and misunderstandings. | | types-inspector | Explore | Flow + TypeScript signatures | Find Flow types in `.claude/react/packages/*/src/*.js` (look for `@flow` annotations). Find TS types in `.claude/react/packages/*/index.d.ts`. Note discrepancies. | ### Step 3: Agent Prompts @@ -164,8 +164,8 @@ CRITICAL: Do NOT rely on your prior knowledge. Only report what you find in PRs. Your task: Find PRs that introduced or modified . -1. Run: gh pr list -R facebook/react --search "" --state all --limit 20 --json number,title,url -2. For promising PRs, read details: gh pr view -R facebook/react +1. Run: gh pr list -R react/react --search "" --state all --limit 20 --json number,title,url +2. For promising PRs, read details: gh pr view -R react/react 3. Look for: - The original RFC/motivation - Design discussions in comments @@ -189,7 +189,7 @@ CRITICAL: Do NOT rely on your prior knowledge. Only report what you find in issu Your task: Find issues that reveal common confusion about . -1. Search facebook/react: gh issue list -R facebook/react --search "" --state all --limit 20 --json number,title,url +1. Search react/react: gh issue list -R react/react --search "" --state all --limit 20 --json number,title,url 2. Search reactjs/react.dev: gh issue list -R reactjs/react.dev --search "" --state all --limit 20 --json number,title,url 3. For each issue, identify: - What the user was confused about @@ -199,7 +199,7 @@ Your task: Find issues that reveal common confusion about . Format your output as: ## Common Confusion ### Issue #: -**Repo:** <facebook/react or reactjs/react.dev> +**Repo:** <react/react or reactjs/react.dev> **Confusion:** <what they misunderstood> **Resolution:** <correct understanding> **Gotcha:** <if applicable> diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 63e310e0b..de2bfc362 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,6 +1,6 @@ contact_links: - name: ๐Ÿ“ƒ Bugs in React - url: https://github.com/facebook/react/issues/new/choose + url: https://github.com/react/react/issues/new/choose about: This issue tracker is not for bugs in React. Please file React issues here. - name: ๐Ÿค” Questions and Help url: https://reactjs.org/community/support.html diff --git a/.github/workflows/discord_notify.yml b/.github/workflows/discord_notify.yml new file mode 100644 index 000000000..97f8d183b --- /dev/null +++ b/.github/workflows/discord_notify.yml @@ -0,0 +1,32 @@ +name: Discord Notify + +on: + pull_request_target: + types: [opened, ready_for_review] + +permissions: {} + +jobs: + check_maintainer: + uses: react/react/.github/workflows/shared_check_maintainer.yml@main + permissions: + # Used by check_maintainer + contents: read + with: + actor: ${{ github.event.pull_request.user.login }} + + notify: + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} + needs: check_maintainer + runs-on: ubuntu-latest + steps: + - name: Discord Webhook Action + uses: tsickert/discord-webhook@v6.0.0 + with: + webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} + embed-author-name: ${{ github.event.pull_request.user.login }} + embed-author-url: ${{ github.event.pull_request.user.html_url }} + embed-author-icon-url: ${{ github.event.pull_request.user.avatar_url }} + embed-title: '#${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}' + embed-description: ${{ github.event.pull_request.body }} + embed-url: ${{ github.event.pull_request.html_url }} diff --git a/.github/workflows/label_core_team_prs.yml b/.github/workflows/label_core_team_prs.yml new file mode 100644 index 000000000..4cb6fbc71 --- /dev/null +++ b/.github/workflows/label_core_team_prs.yml @@ -0,0 +1,41 @@ +name: Label Core Team PRs + +on: + pull_request_target: + +permissions: {} + +env: + TZ: /usr/share/zoneinfo/America/Los_Angeles + # https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout + SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1 + +jobs: + check_maintainer: + uses: react/react/.github/workflows/shared_check_maintainer.yml@main + permissions: + # Used by check_maintainer + contents: read + with: + actor: ${{ github.event.pull_request.user.login }} + + label: + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} + runs-on: ubuntu-latest + needs: check_maintainer + permissions: + # Used to add labels on issues + issues: write + # Used to add labels on PRs + pull-requests: write + steps: + - name: Label PR as React Core Team + uses: actions/github-script@v7 + with: + script: | + github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: ${{ github.event.number }}, + labels: ['React Core Team'] + }); diff --git a/.gitignore b/.gitignore index ff519fa0f..ea72ec699 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,6 @@ public/rss.xml # worktrees .worktrees/ + +# Generated OG images (scripts/generateOgImages.mjs) +public/images/og/ diff --git a/eslint-local-rules/__tests__/fixtures/src/content/missing-highlight.md b/eslint-local-rules/__tests__/fixtures/src/content/missing-highlight.md new file mode 100644 index 000000000..f6dc1e734 --- /dev/null +++ b/eslint-local-rules/__tests__/fixtures/src/content/missing-highlight.md @@ -0,0 +1,3 @@ +```js [[1, 1, "submitAction"]] +function UpdateName() {} +``` diff --git a/eslint-local-rules/__tests__/fixtures/src/content/out-of-bounds-highlight.md b/eslint-local-rules/__tests__/fixtures/src/content/out-of-bounds-highlight.md new file mode 100644 index 000000000..ac65974ad --- /dev/null +++ b/eslint-local-rules/__tests__/fixtures/src/content/out-of-bounds-highlight.md @@ -0,0 +1,3 @@ +```js [[1, 3, "submitAction"]] +function submitAction() {} +``` diff --git a/eslint-local-rules/__tests__/fixtures/src/content/valid-highlight.md b/eslint-local-rules/__tests__/fixtures/src/content/valid-highlight.md new file mode 100644 index 000000000..dd6074029 --- /dev/null +++ b/eslint-local-rules/__tests__/fixtures/src/content/valid-highlight.md @@ -0,0 +1,7 @@ +```js [[1, 1, "submitAction"]] +function submitAction() {} +``` + +```js [[1, 1, "\\"hidden\\""]] +const mode = "hidden"; +``` diff --git a/eslint-local-rules/__tests__/lint-markdown-code-blocks.test.js b/eslint-local-rules/__tests__/lint-markdown-code-blocks.test.js index d59ba2616..26fffcdad 100644 --- a/eslint-local-rules/__tests__/lint-markdown-code-blocks.test.js +++ b/eslint-local-rules/__tests__/lint-markdown-code-blocks.test.js @@ -110,6 +110,37 @@ async function run() { malformedFixed.output.includes("{expectedErrors: {'react-compiler': [4]}}"), 'expected malformed metadata to be replaced with canonical form' ); + + const validHighlightResult = await lintFixture('valid-highlight.md'); + assert.strictEqual( + validHighlightResult.messages.length, + 0, + 'expected a valid inline highlight to pass' + ); + + const missingHighlightResult = await lintFixture('missing-highlight.md'); + assert.strictEqual( + missingHighlightResult.messages.length, + 1, + 'expected a highlight with text missing from its line to fail' + ); + assert.strictEqual( + missingHighlightResult.messages[0].message, + "Could not find 'submitAction' on highlighted line 1" + ); + + const outOfBoundsHighlightResult = await lintFixture( + 'out-of-bounds-highlight.md' + ); + assert.strictEqual( + outOfBoundsHighlightResult.messages.length, + 1, + 'expected an out-of-bounds highlight line to fail' + ); + assert.strictEqual( + outOfBoundsHighlightResult.messages[0].message, + 'Code highlight line 3 is outside this code block' + ); } run().catch((error) => { diff --git a/eslint-local-rules/rules/inline-highlights.js b/eslint-local-rules/rules/inline-highlights.js new file mode 100644 index 000000000..1e25fa6b9 --- /dev/null +++ b/eslint-local-rules/rules/inline-highlights.js @@ -0,0 +1,66 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +const INLINE_HIGHLIGHT_REGEX = /(\[\[.*\]\])/; + +function validateInlineHighlights(meta, code) { + const match = INLINE_HIGHLIGHT_REGEX.exec(meta); + if (!match) { + return []; + } + + let highlights; + try { + highlights = JSON.parse(match[1]); + } catch (error) { + return ['Code highlight metadata must be valid JSON']; + } + + if (!Array.isArray(highlights)) { + return ['Code highlight metadata must be an array']; + } + + const lines = code.split('\n'); + const errors = []; + + for (const highlight of highlights) { + if (!Array.isArray(highlight) || highlight.length < 3) { + errors.push('Each code highlight must specify a step, line, and text'); + continue; + } + + const [, lineNo, text, fromIndex] = highlight; + if (!Number.isInteger(lineNo) || lineNo < 1 || lineNo > lines.length) { + errors.push(`Code highlight line ${lineNo} is outside this code block`); + continue; + } + if (typeof text !== 'string') { + errors.push(`Code highlight text on line ${lineNo} must be a string`); + continue; + } + + const line = lines[lineNo - 1]; + let index = line.indexOf(text); + const lastIndex = line.lastIndexOf(text); + if (index !== lastIndex) { + if (fromIndex === undefined) { + errors.push( + `Found '${text}' twice on highlighted line ${lineNo}; specify fromIndex` + ); + continue; + } + index = line.indexOf(text, fromIndex); + } + if (index === -1) { + errors.push(`Could not find '${text}' on highlighted line ${lineNo}`); + } + } + + return errors; +} + +module.exports = {validateInlineHighlights}; diff --git a/eslint-local-rules/rules/lint-markdown-code-blocks.js b/eslint-local-rules/rules/lint-markdown-code-blocks.js index 5ec327947..14bf10a12 100644 --- a/eslint-local-rules/rules/lint-markdown-code-blocks.js +++ b/eslint-local-rules/rules/lint-markdown-code-blocks.js @@ -16,6 +16,7 @@ const { setCompilerExpectedLines, } = require('./metadata'); const {normalizeDiagnostics} = require('./diagnostics'); +const {validateInlineHighlights} = require('./inline-highlights'); const {parseMarkdownFile} = require('./markdown'); const {runReactCompiler} = require('./react-compiler'); @@ -23,7 +24,7 @@ module.exports = { meta: { type: 'problem', docs: { - description: 'Run React Compiler on markdown code blocks', + description: 'Validate and compile markdown code blocks', category: 'Possible Errors', }, fixable: 'code', @@ -43,6 +44,17 @@ module.exports = { const {blocks} = parseMarkdownFile(sourceCode.text, filename); // For each supported code block, run the compiler and reconcile metadata. for (const block of blocks) { + for (const message of validateInlineHighlights( + block.meta, + block.code + )) { + context.report({ + node, + loc: block.position, + message, + }); + } + const compilerResult = runReactCompiler( block.code, `${filename}#codeblock` diff --git a/eslint-local-rules/rules/markdown.js b/eslint-local-rules/rules/markdown.js index d888d1311..5d3be73cf 100644 --- a/eslint-local-rules/rules/markdown.js +++ b/eslint-local-rules/rules/markdown.js @@ -16,6 +16,7 @@ const {parseFenceMetadata} = require('./metadata'); * @property {{lineIndex: number, rawText: string, metaText: string, range: [number, number]}} fence * @property {string} filePath * @property {string} lang + * @property {string} meta * @property {import('./metadata').FenceMetadata} metadata */ @@ -76,6 +77,7 @@ function parseMarkdownFile(content, filePath) { blocks.push({ lang: rawLang || normalizedLang, + meta: node.meta || metaText.trim(), metadata, filePath, code: node.value || '', diff --git a/package.json b/package.json index 26af1be1f..5ea848fbc 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "analyze": "ANALYZE=true next build", "dev": "next-remote-watch ./src/content", "prebuild:rsc": "node scripts/buildRscWorker.mjs", - "build": "yarn cache-reset && node scripts/buildRscWorker.mjs && next build && node --experimental-modules ./scripts/downloadFonts.mjs", + "build": "yarn cache-reset && node scripts/buildRscWorker.mjs && next build && node --experimental-modules ./scripts/downloadFonts.mjs && node ./scripts/generateOgImages.mjs", "lint": "next lint && eslint \"src/content/**/*.md\"", "lint:fix": "next lint --fix && eslint \"src/content/**/*.md\" --fix", "format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"", @@ -54,6 +54,8 @@ "@babel/plugin-transform-modules-commonjs": "^7.18.6", "@babel/preset-react": "^7.18.6", "@mdx-js/mdx": "^2.1.3", + "@resvg/resvg-js": "^2.6.2", + "@shuding/opentype.js": "1.4.0-beta.0", "@types/body-scroll-lock": "^2.6.1", "@types/classnames": "^2.2.10", "@types/debounce": "^1.2.1", @@ -97,7 +99,7 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-preset-env": "^6.7.0", "prettier": "^2.5.1", - "react-server-dom-webpack": "^19.2.4", + "react-server-dom-webpack": "^19.3.0", "reading-time": "^1.2.0", "remark": "^12.0.1", "remark-external-links": "^7.0.0", @@ -108,6 +110,7 @@ "retext": "^7.0.1", "retext-smartypants": "^4.0.0", "rss": "^1.2.2", + "satori": "^0.26.0", "tailwindcss": "^3.4.1", "textlint": "^14.0.4", "textlint-filter-rule-comments": "^1.2.2", diff --git a/public/fonts/Optimistic_Display_W_Bd.ttf b/public/fonts/Optimistic_Display_W_Bd.ttf new file mode 100644 index 000000000..9d0cff450 Binary files /dev/null and b/public/fonts/Optimistic_Display_W_Bd.ttf differ diff --git a/public/fonts/Optimistic_Display_W_Md.ttf b/public/fonts/Optimistic_Display_W_Md.ttf new file mode 100644 index 000000000..3fbdb483d Binary files /dev/null and b/public/fonts/Optimistic_Display_W_Md.ttf differ diff --git a/public/images/team/gh-aurorascharff.jpg b/public/images/team/gh-aurorascharff.jpg new file mode 100644 index 000000000..10476e5e8 Binary files /dev/null and b/public/images/team/gh-aurorascharff.jpg differ diff --git a/public/images/team/gh-brentvatne.jpg b/public/images/team/gh-brentvatne.jpg new file mode 100644 index 000000000..c66a5cd6d Binary files /dev/null and b/public/images/team/gh-brentvatne.jpg differ diff --git a/public/images/team/gh-captbaritone.jpg b/public/images/team/gh-captbaritone.jpg new file mode 100644 index 000000000..0100fa16b Binary files /dev/null and b/public/images/team/gh-captbaritone.jpg differ diff --git a/public/images/team/gh-cipolleschi.png b/public/images/team/gh-cipolleschi.png new file mode 100644 index 000000000..a90bec66e Binary files /dev/null and b/public/images/team/gh-cipolleschi.png differ diff --git a/public/images/team/gh-cortinico.jpg b/public/images/team/gh-cortinico.jpg new file mode 100644 index 000000000..e806a103b Binary files /dev/null and b/public/images/team/gh-cortinico.jpg differ diff --git a/public/images/team/gh-fbmal7.jpg b/public/images/team/gh-fbmal7.jpg new file mode 100644 index 000000000..0f79e181d Binary files /dev/null and b/public/images/team/gh-fbmal7.jpg differ diff --git a/public/images/team/gh-fkgozali.jpg b/public/images/team/gh-fkgozali.jpg new file mode 100644 index 000000000..9f87e7efb Binary files /dev/null and b/public/images/team/gh-fkgozali.jpg differ diff --git a/public/images/team/gh-huntie.jpg b/public/images/team/gh-huntie.jpg new file mode 100644 index 000000000..a4de75801 Binary files /dev/null and b/public/images/team/gh-huntie.jpg differ diff --git a/public/images/team/gh-javache.jpg b/public/images/team/gh-javache.jpg new file mode 100644 index 000000000..1f63907ea Binary files /dev/null and b/public/images/team/gh-javache.jpg differ diff --git a/public/images/team/gh-khalef1.jpg b/public/images/team/gh-khalef1.jpg new file mode 100644 index 000000000..94d96f670 Binary files /dev/null and b/public/images/team/gh-khalef1.jpg differ diff --git a/public/images/team/gh-kmagiera.jpg b/public/images/team/gh-kmagiera.jpg new file mode 100644 index 000000000..0e03ecb77 Binary files /dev/null and b/public/images/team/gh-kmagiera.jpg differ diff --git a/public/images/team/gh-motiz88.jpg b/public/images/team/gh-motiz88.jpg new file mode 100644 index 000000000..a67e30b1b Binary files /dev/null and b/public/images/team/gh-motiz88.jpg differ diff --git a/public/images/team/gh-robhogan.jpg b/public/images/team/gh-robhogan.jpg new file mode 100644 index 000000000..4d5a5e830 Binary files /dev/null and b/public/images/team/gh-robhogan.jpg differ diff --git a/public/images/team/gh-rubennorte.jpg b/public/images/team/gh-rubennorte.jpg new file mode 100644 index 000000000..459c267e4 Binary files /dev/null and b/public/images/team/gh-rubennorte.jpg differ diff --git a/public/images/team/gh-samselikoff.jpg b/public/images/team/gh-samselikoff.jpg new file mode 100644 index 000000000..7887765b4 Binary files /dev/null and b/public/images/team/gh-samselikoff.jpg differ diff --git a/public/images/team/gh-simek.png b/public/images/team/gh-simek.png new file mode 100644 index 000000000..23a950103 Binary files /dev/null and b/public/images/team/gh-simek.png differ diff --git a/public/images/team/gh-stmoy.jpg b/public/images/team/gh-stmoy.jpg new file mode 100644 index 000000000..7694a7fb6 Binary files /dev/null and b/public/images/team/gh-stmoy.jpg differ diff --git a/public/images/team/gh-thymikee.jpg b/public/images/team/gh-thymikee.jpg new file mode 100644 index 000000000..d0debc5be Binary files /dev/null and b/public/images/team/gh-thymikee.jpg differ diff --git a/public/images/team/gh-vzaidman.jpg b/public/images/team/gh-vzaidman.jpg new file mode 100644 index 000000000..c76905615 Binary files /dev/null and b/public/images/team/gh-vzaidman.jpg differ diff --git a/public/images/team/jimmy-lai.jpg b/public/images/team/jimmy-lai.jpg new file mode 100644 index 000000000..57b50c800 Binary files /dev/null and b/public/images/team/jimmy-lai.jpg differ diff --git a/public/images/tutorial/codesandbox-devtools.png b/public/images/tutorial/codesandbox-devtools.png deleted file mode 100644 index 1f7ebd500..000000000 Binary files a/public/images/tutorial/codesandbox-devtools.png and /dev/null differ diff --git a/public/images/tutorial/components-tab.png b/public/images/tutorial/components-tab.png new file mode 100644 index 000000000..90ce0770e Binary files /dev/null and b/public/images/tutorial/components-tab.png differ diff --git a/public/images/tutorial/devtools-inspect.gif b/public/images/tutorial/devtools-inspect.gif new file mode 100644 index 000000000..5c623e6a7 Binary files /dev/null and b/public/images/tutorial/devtools-inspect.gif differ diff --git a/public/images/tutorial/devtools-select.gif b/public/images/tutorial/devtools-select.gif deleted file mode 100644 index dd1e1aa61..000000000 Binary files a/public/images/tutorial/devtools-select.gif and /dev/null differ diff --git a/public/images/tutorial/sandbox-new-tab.png b/public/images/tutorial/sandbox-new-tab.png new file mode 100644 index 000000000..093a363fb Binary files /dev/null and b/public/images/tutorial/sandbox-new-tab.png differ diff --git a/scripts/deadLinkChecker.js b/scripts/deadLinkChecker.js index 46a21cdc9..287dde36a 100644 --- a/scripts/deadLinkChecker.js +++ b/scripts/deadLinkChecker.js @@ -311,7 +311,7 @@ async function buildContributorMap() { async function fetchErrorCodes() { try { const response = await fetch( - 'https://raw.githubusercontent.com/facebook/react/main/scripts/error-codes/codes.json' + 'https://raw.githubusercontent.com/react/react/main/scripts/error-codes/codes.json' ); if (!response.ok) { throw new Error(`Failed to fetch error codes: ${response.status}`); diff --git a/scripts/generateOgImages.mjs b/scripts/generateOgImages.mjs new file mode 100644 index 000000000..bc805d386 --- /dev/null +++ b/scripts/generateOgImages.mjs @@ -0,0 +1,247 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +// Generates a static OG image for every content page, so social +// cards show the page title without any runtime image generation. +// Run after `next build` (see the `build` script in package.json). + +import fs from 'fs'; +import path from 'path'; +import satori from 'satori'; +import {Resvg} from '@resvg/resvg-js'; +import matter from 'gray-matter'; +import opentype from '@shuding/opentype.js'; + +const ROOT = process.cwd(); +const CONTENT_DIR = path.join(ROOT, 'src', 'content'); +const OUT_DIR = path.join(ROOT, 'public', 'images', 'og'); +const CONCURRENCY = 8; + +const SECTION_LABELS = { + learn: 'Learn React', + reference: 'API Reference', + community: 'Community', + blog: 'Blog', +}; + +const bold = fs.readFileSync( + path.join(ROOT, 'public', 'fonts', 'Optimistic_Display_W_Bd.ttf') +); +const medium = fs.readFileSync( + path.join(ROOT, 'public', 'fonts', 'Optimistic_Display_W_Md.ttf') +); + +// Title area width: card width minus the horizontal padding (80px per side). +const TITLE_MAX_WIDTH = 1200 - 80 * 2; +const TITLE_MAX_FONT = 96; +const TITLE_MIN_FONT = 56; +// Small margin so borderline titles don't wrap and orphan a single trailing +// character (e.g. the "p" in "renderToStaticMarkup", which is 1px too wide +// to fit on one line at 96px). +const TITLE_SAFETY = 8; + +const boldFont = opentype.parse( + bold.buffer.slice(bold.byteOffset, bold.byteOffset + bold.byteLength) +); + +// Multi-word titles wrap cleanly at spaces, so a length bucket is fine for +// them. Single-word titles (most API names) can only break mid-word, which +// leaves an orphaned letter on its own line, so instead shrink them just +// enough to fit on a single line. +function titleFontSize(title) { + const trimmed = title.trim(); + if (/\s/.test(trimmed)) { + return trimmed.length > 24 ? 72 : 96; + } + const widthPerPx = boldFont.getAdvanceWidth(trimmed, 1); + const fit = Math.floor((TITLE_MAX_WIDTH - TITLE_SAFETY) / widthPerPx); + return Math.max(TITLE_MIN_FONT, Math.min(TITLE_MAX_FONT, fit)); +} + +function el(type, style, children) { + return {type, props: {style, children}}; +} + +function card(title, pagePath) { + const section = pagePath.split('/')[1] ?? ''; + const label = SECTION_LABELS[section] ?? 'React'; + const logo = { + type: 'svg', + props: { + width: 80, + height: 72, + viewBox: '-10.5 -9.45 21 18.9', + fill: 'none', + children: [ + {type: 'circle', props: {cx: 0, cy: 0, r: 2, fill: '#58c4dc'}}, + { + type: 'g', + props: { + stroke: '#58c4dc', + strokeWidth: 1, + fill: 'none', + children: [ + {type: 'ellipse', props: {rx: 10, ry: 4.5}}, + { + type: 'ellipse', + props: {rx: 10, ry: 4.5, transform: 'rotate(60)'}, + }, + { + type: 'ellipse', + props: {rx: 10, ry: 4.5, transform: 'rotate(120)'}, + }, + ], + }, + }, + ], + }, + }; + return el( + 'div', + { + width: '100%', + height: '100%', + display: 'flex', + flexDirection: 'column', + padding: '72px 80px', + backgroundColor: '#23272f', + backgroundImage: + 'radial-gradient(circle at 25% 30%, #343a46 0%, #23272f 55%)', + }, + [ + el('div', {display: 'flex', alignItems: 'center', gap: '20px'}, [ + logo, + el( + 'div', + { + fontSize: 48, + fontFamily: 'Optimistic Display Bold', + color: '#f6f7f9', + }, + 'React' + ), + ]), + el( + 'div', + { + flexGrow: 1, + display: 'flex', + alignItems: 'center', + fontSize: titleFontSize(title), + fontFamily: 'Optimistic Display Bold', + color: '#f6f7f9', + lineHeight: 1.1, + wordBreak: 'break-word', + }, + title + ), + el( + 'div', + { + fontSize: 40, + fontFamily: 'Optimistic Display Medium', + color: '#99a1b3', + }, + label + ), + ] + ); +} + +async function renderCard(title, pagePath) { + const svg = await satori(card(title, pagePath), { + width: 1200, + height: 630, + fonts: [ + { + name: 'Optimistic Display Bold', + data: bold, + weight: 700, + style: 'normal', + }, + { + name: 'Optimistic Display Medium', + data: medium, + weight: 500, + style: 'normal', + }, + ], + }); + return new Resvg(svg, {fitTo: {mode: 'width', value: 1200}}).render().asPng(); +} + +function collectSidebarTitles() { + const titles = new Map(); + for (const name of fs.readdirSync(path.join(ROOT, 'src'))) { + if (!/^sidebar.*\.json$/.test(name)) continue; + const walk = (node) => { + if (node.path && node.title) { + titles.set(node.path, node.title); + } + for (const child of node.routes ?? []) walk(child); + }; + walk(JSON.parse(fs.readFileSync(path.join(ROOT, 'src', name), 'utf8'))); + } + return titles; +} + +const sidebarTitles = collectSidebarTitles(); + +function collectPages(dir, out) { + for (const entry of fs.readdirSync(dir, {withFileTypes: true})) { + const full = path.join(dir, entry.name); + if (entry.isDirectory()) { + collectPages(full, out); + } else if (entry.name.endsWith('.md')) { + const rel = path.relative(CONTENT_DIR, full).replace(/\.md$/, ''); + const segments = rel.split(path.sep); + if (segments[segments.length - 1] === 'index') { + segments.pop(); + } + const pagePath = '/' + segments.join('/'); + if (pagePath === '/' || pagePath.startsWith('/errors')) { + continue; + } + const {data} = matter(fs.readFileSync(full, 'utf8')); + const title = data.title ?? sidebarTitles.get(pagePath); + if (title) { + out.push({title: String(title), pagePath}); + } + } + } + return out; +} + +export function ogImageFileName(pagePath) { + return pagePath.replace(/^\//, '').replace(/\//g, '-') + '.png'; +} + +async function main() { + const pages = collectPages(CONTENT_DIR, []); + fs.mkdirSync(OUT_DIR, {recursive: true}); + let done = 0; + const queue = [...pages]; + async function worker() { + for (;;) { + const page = queue.shift(); + if (!page) return; + const png = await renderCard(page.title, page.pagePath); + fs.writeFileSync(path.join(OUT_DIR, ogImageFileName(page.pagePath)), png); + done++; + if (done % 100 === 0) { + console.log(`og-images: ${done}/${pages.length}`); + } + } + } + await Promise.all(Array.from({length: CONCURRENCY}, worker)); + console.log(`og-images: generated ${done} images in public/images/og`); +} + +main().catch((error) => { + console.error(error); + process.exit(1); +}); diff --git a/src/components/ButtonLink.tsx b/src/components/ButtonLink.tsx index bd98d5b38..dff09ed3a 100644 --- a/src/components/ButtonLink.tsx +++ b/src/components/ButtonLink.tsx @@ -33,7 +33,7 @@ function ButtonLink({ className, 'active:scale-[.98] transition-transform inline-flex font-bold items-center outline-none focus:outline-none focus-visible:outline focus-visible:outline-link focus:outline-offset-2 focus-visible:dark:focus:outline-link-dark leading-snug', { - 'bg-link text-white dark:bg-brand-dark dark:text-secondary hover:bg-opacity-80': + 'bg-link text-white dark:bg-brand-dark dark:text-gray-90 hover:bg-opacity-80': type === 'primary', 'text-primary dark:text-primary-dark shadow-secondary-button-stroke dark:shadow-secondary-button-stroke-dark hover:bg-gray-40/5 active:bg-gray-40/10 hover:dark:bg-gray-60/5 active:dark:bg-gray-60/10': type === 'secondary', diff --git a/src/components/Layout/Footer.tsx b/src/components/Layout/Footer.tsx index 5603f7294..f87710c82 100644 --- a/src/components/Layout/Footer.tsx +++ b/src/components/Layout/Footer.tsx @@ -382,7 +382,7 @@ export function Footer() { </ExternalLink> <ExternalLink aria-label="React on Github" - href="https://github.com/facebook/react" + href="https://github.com/react/react" className={socialLinkClasses}> <IconGitHub /> </ExternalLink> diff --git a/src/components/Layout/Page.tsx b/src/components/Layout/Page.tsx index aa39fe5fc..59cf4386d 100644 --- a/src/components/Layout/Page.tsx +++ b/src/components/Layout/Page.tsx @@ -129,7 +129,18 @@ export function Page({ title={title} titleForTitleTag={meta.titleForTitleTag} isHomePage={isHomePage} - image={`/images/og-` + section + '.png'} + image={ + // OG images are generated per page at build time by + // scripts/generateOgImages.mjs. Pages without a generated + // card (home, errors, 404, 500) use the static section image. + isHomePage || + !title || + cleanedPath.startsWith('/errors') || + cleanedPath === '/404' || + cleanedPath === '/500' + ? `/images/og-${section ?? 'unknown'}.png` + : `/images/og/${cleanedPath.slice(1).replace(/\//g, '-')}.png` + } searchOrder={searchOrder} /> {(isHomePage || isBlogIndex) && ( diff --git a/src/components/Layout/Toc.tsx b/src/components/Layout/Toc.tsx index 8a1b53a09..57cd6f153 100644 --- a/src/components/Layout/Toc.tsx +++ b/src/components/Layout/Toc.tsx @@ -11,6 +11,7 @@ import cx from 'classnames'; import {useTocHighlight} from './useTocHighlight'; +import {IsInTocContext} from '../MDX/TocContext'; import type {Toc} from '../MDX/TocContext'; export function Toc({headings}: {headings: Toc}) { @@ -32,37 +33,39 @@ export function Toc({headings}: {headings: Toc}) { overscrollBehavior: 'contain', }}> <ul className="space-y-2 pb-16"> - {headings.length > 0 && - headings.map((h, i) => { - if (!h.url && process.env.NODE_ENV === 'development') { - console.error('Heading does not have URL'); - } - return ( - <li - key={`heading-${h.url}-${i}`} - className={cx( - 'text-sm px-2 rounded-s-xl', - selectedIndex === i - ? 'bg-highlight dark:bg-highlight-dark' - : null, - { - 'ps-4': h?.depth === 3, - hidden: h.depth && h.depth > 3, - } - )}> - <a + <IsInTocContext.Provider value={true}> + {headings.length > 0 && + headings.map((h, i) => { + if (!h.url && process.env.NODE_ENV === 'development') { + console.error('Heading does not have URL'); + } + return ( + <li + key={`heading-${h.url}-${i}`} className={cx( + 'text-sm px-2 rounded-s-xl', selectedIndex === i - ? 'text-link dark:text-link-dark font-bold' - : 'text-secondary dark:text-secondary-dark', - 'block hover:text-link dark:hover:text-link-dark leading-normal py-2' - )} - href={h.url}> - {h.text} - </a> - </li> - ); - })} + ? 'bg-highlight dark:bg-highlight-dark' + : null, + { + 'ps-4': h?.depth === 3, + hidden: h.depth && h.depth > 3, + } + )}> + <a + className={cx( + selectedIndex === i + ? 'text-link dark:text-link-dark font-bold' + : 'text-secondary dark:text-secondary-dark', + 'block hover:text-link dark:hover:text-link-dark leading-normal py-2' + )} + href={h.url}> + {h.text} + </a> + </li> + ); + })} + </IsInTocContext.Provider> </ul> </div> </nav> diff --git a/src/components/Layout/TopNav/TopNav.tsx b/src/components/Layout/TopNav/TopNav.tsx index ad34057c4..4b76083e2 100644 --- a/src/components/Layout/TopNav/TopNav.tsx +++ b/src/components/Layout/TopNav/TopNav.tsx @@ -386,7 +386,7 @@ export default function TopNav({ </div> <div className="flex"> <Link - href="https://github.com/facebook/react/releases" + href="https://github.com/react/react/releases" target="_blank" rel="noreferrer noopener" aria-label="Open on GitHub" diff --git a/src/components/MDX/MDXComponents.tsx b/src/components/MDX/MDXComponents.tsx index 46a3f8bc8..a80fb0aa6 100644 --- a/src/components/MDX/MDXComponents.tsx +++ b/src/components/MDX/MDXComponents.tsx @@ -36,7 +36,7 @@ import YouWillLearnCard from './YouWillLearnCard'; import {Challenges, Hint, Solution} from './Challenges'; import {IconNavArrow} from '../Icon/IconNavArrow'; import ButtonLink from 'components/ButtonLink'; -import {TocContext} from './TocContext'; +import {TocContext, IsInTocContext} from './TocContext'; import type {Toc, TocItem} from './TocContext'; import {TeamMember} from './TeamMember'; import {LanguagesContext} from './LanguagesContext'; @@ -122,33 +122,57 @@ const RSC = ({children}: {children: React.ReactNode}) => ( <ExpandableCallout type="rsc">{children}</ExpandableCallout> ); -const CanaryBadge = ({title}: {title: string}) => ( - <span - title={title} - className={ - 'text-base font-display px-1 py-0.5 font-bold bg-gray-10 dark:bg-gray-60 text-gray-60 dark:text-gray-10 rounded' - }> - <IconCanary - size="s" - className={'inline me-1 mb-0.5 text-sm text-gray-60 dark:text-gray-10'} - /> - Canary only - </span> -); +const CanaryBadge = ({title}: {title: string}) => { + const isInToc = useContext(IsInTocContext); + if (isInToc) { + return ( + <IconCanary + size="s" + title={title} + className="inline me-1 mb-0.5 text-gray-60 dark:text-gray-10" + /> + ); + } + return ( + <span + title={title} + className={ + 'text-base font-display px-1 py-0.5 font-bold bg-gray-10 dark:bg-gray-60 text-gray-60 dark:text-gray-10 rounded' + }> + <IconCanary + size="s" + className={'inline me-1 mb-0.5 text-sm text-gray-60 dark:text-gray-10'} + /> + Canary only + </span> + ); +}; -const ExperimentalBadge = ({title}: {title: string}) => ( - <span - title={title} - className={ - 'text-base font-display px-1 py-0.5 font-bold bg-gray-10 dark:bg-gray-60 text-gray-60 dark:text-gray-10 rounded' - }> - <IconExperimental - size="s" - className={'inline me-1 mb-0.5 text-sm text-gray-60 dark:text-gray-10'} - /> - Experimental only - </span> -); +const ExperimentalBadge = ({title}: {title: string}) => { + const isInToc = useContext(IsInTocContext); + if (isInToc) { + return ( + <IconExperimental + size="s" + title={title} + className="inline me-1 mb-0.5 text-gray-60 dark:text-gray-10" + /> + ); + } + return ( + <span + title={title} + className={ + 'text-base font-display px-1 py-0.5 font-bold bg-gray-10 dark:bg-gray-60 text-gray-60 dark:text-gray-10 rounded' + }> + <IconExperimental + size="s" + className={'inline me-1 mb-0.5 text-sm text-gray-60 dark:text-gray-10'} + /> + Experimental only + </span> + ); +}; const NextMajorBadge = ({title}: {title: string}) => ( <span @@ -422,7 +446,11 @@ function InlineToc() { if (root.children.length < 2) { return null; } - return <InlineTocItem items={root.children} />; + return ( + <IsInTocContext.Provider value={true}> + <InlineTocItem items={root.children} /> + </IsInTocContext.Provider> + ); } function InlineTocItem({items}: {items: Array<NestedTocNode>}) { diff --git a/src/components/MDX/Sandpack/DownloadButton.tsx b/src/components/MDX/Sandpack/DownloadButton.tsx index 97dbeaf66..8c533f981 100644 --- a/src/components/MDX/Sandpack/DownloadButton.tsx +++ b/src/components/MDX/Sandpack/DownloadButton.tsx @@ -19,7 +19,7 @@ let supportsImportMap = false; function subscribe(cb: () => void) { // This shouldn't actually need to update, but this works around - // https://github.com/facebook/react/issues/26095 + // https://github.com/react/react/issues/26095 let timeout = setTimeout(() => { supportsImportMap = (HTMLScriptElement as any).supports && diff --git a/src/components/MDX/Sandpack/sandpack-rsc/sandbox-code/src/worker-bundle.dist.js b/src/components/MDX/Sandpack/sandpack-rsc/sandbox-code/src/worker-bundle.dist.js index 931e548dc..cfb0f270f 100644 --- a/src/components/MDX/Sandpack/sandpack-rsc/sandbox-code/src/worker-bundle.dist.js +++ b/src/components/MDX/Sandpack/sandpack-rsc/sandbox-code/src/worker-bundle.dist.js @@ -23,30 +23,27 @@ globalThis.__webpack_get_script_filename__ = function (chunkId) { return chunkId; }; -"use strict";(()=>{var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Gc=Z(ht=>{"use strict";var Zs={H:null,A:null};function Yo(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)t+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var $c=Array.isArray,Jo=Symbol.for("react.transitional.element"),Pf=Symbol.for("react.portal"),Nf=Symbol.for("react.fragment"),Rf=Symbol.for("react.strict_mode"),Lf=Symbol.for("react.profiler"),Of=Symbol.for("react.forward_ref"),Df=Symbol.for("react.suspense"),Mf=Symbol.for("react.memo"),Hc=Symbol.for("react.lazy"),qc=Symbol.iterator;function Ff(e){return e===null||typeof e!="object"?null:(e=qc&&e[qc]||e["@@iterator"],typeof e=="function"?e:null)}var Wc=Object.prototype.hasOwnProperty,Bf=Object.assign;function Qo(e,t,s,i,r,a){return s=a.ref,{$$typeof:Jo,type:e,key:t,ref:s!==void 0?s:null,props:a}}function Vf(e,t){return Qo(e.type,t,void 0,void 0,void 0,e.props)}function Zo(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jo}function jf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(s){return t[s]})}var Kc=/\/+/g;function zo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?jf(""+e.key):t.toString(36)}function Uc(){}function $f(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Uc,Uc):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Qs(e,t,s,i,r){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(a){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case Jo:case Pf:u=!0;break;case Hc:return u=e._init,Qs(u(e._payload),t,s,i,r)}}if(u)return r=r(e),u=i===""?"."+zo(e,0):i,$c(r)?(s="",u!=null&&(s=u.replace(Kc,"$&/")+"/"),Qs(r,t,s,"",function(g){return g})):r!=null&&(Zo(r)&&(r=Vf(r,s+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(Kc,"$&/")+"/")+u)),t.push(r)),1;u=0;var d=i===""?".":i+":";if($c(e))for(var y=0;y<e.length;y++)i=e[y],a=d+zo(i,y),u+=Qs(i,t,s,a,r);else if(y=Ff(e),typeof y=="function")for(e=y.call(e),y=0;!(i=e.next()).done;)i=i.value,a=d+zo(i,y++),u+=Qs(i,t,s,a,r);else if(a==="object"){if(typeof e.then=="function")return Qs($f(e),t,s,i,r);throw t=String(e),Error(Yo(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}return u}function _r(e,t,s){if(e==null)return e;var i=[],r=0;return Qs(e,i,"","",function(a){return t.call(s,a,r++)}),i}function qf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(s){(e._status===0||e._status===-1)&&(e._status=1,e._result=s)},function(s){(e._status===0||e._status===-1)&&(e._status=2,e._result=s)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}function Kf(){return new WeakMap}function Xo(){return{s:0,v:void 0,o:null,p:null}}ht.Children={map:_r,forEach:function(e,t,s){_r(e,function(){t.apply(this,arguments)},s)},count:function(e){var t=0;return _r(e,function(){t++}),t},toArray:function(e){return _r(e,function(t){return t})||[]},only:function(e){if(!Zo(e))throw Error(Yo(143));return e}};ht.Fragment=Nf;ht.Profiler=Lf;ht.StrictMode=Rf;ht.Suspense=Df;ht.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Zs;ht.cache=function(e){return function(){var t=Zs.A;if(!t)return e.apply(null,arguments);var s=t.getCacheForType(Kf);t=s.get(e),t===void 0&&(t=Xo(),s.set(e,t)),s=0;for(var i=arguments.length;s<i;s++){var r=arguments[s];if(typeof r=="function"||typeof r=="object"&&r!==null){var a=t.o;a===null&&(t.o=a=new WeakMap),t=a.get(r),t===void 0&&(t=Xo(),a.set(r,t))}else a=t.p,a===null&&(t.p=a=new Map),t=a.get(r),t===void 0&&(t=Xo(),a.set(r,t))}if(t.s===1)return t.v;if(t.s===2)throw t.v;try{var u=e.apply(null,arguments);return s=t,s.s=1,s.v=u}catch(d){throw u=t,u.s=2,u.v=d,d}}};ht.cloneElement=function(e,t,s){if(e==null)throw Error(Yo(267,e));var i=Bf({},e.props),r=e.key,a=void 0;if(t!=null)for(u in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(r=""+t.key),t)!Wc.call(t,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&t.ref===void 0||(i[u]=t[u]);var u=arguments.length-2;if(u===1)i.children=s;else if(1<u){for(var d=Array(u),y=0;y<u;y++)d[y]=arguments[y+2];i.children=d}return Qo(e.type,r,void 0,void 0,a,i)};ht.createElement=function(e,t,s){var i,r={},a=null;if(t!=null)for(i in t.key!==void 0&&(a=""+t.key),t)Wc.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var u=arguments.length-2;if(u===1)r.children=s;else if(1<u){for(var d=Array(u),y=0;y<u;y++)d[y]=arguments[y+2];r.children=d}if(e&&e.defaultProps)for(i in u=e.defaultProps,u)r[i]===void 0&&(r[i]=u[i]);return Qo(e,a,void 0,void 0,null,r)};ht.createRef=function(){return{current:null}};ht.forwardRef=function(e){return{$$typeof:Of,render:e}};ht.isValidElement=Zo;ht.lazy=function(e){return{$$typeof:Hc,_payload:{_status:-1,_result:e},_init:qf}};ht.memo=function(e,t){return{$$typeof:Mf,type:e,compare:t===void 0?null:t}};ht.use=function(e){return Zs.H.use(e)};ht.useCallback=function(e,t){return Zs.H.useCallback(e,t)};ht.useDebugValue=function(){};ht.useId=function(){return Zs.H.useId()};ht.useMemo=function(e,t){return Zs.H.useMemo(e,t)};ht.version="19.0.0"});var Li=Z((t_,zc)=>{"use strict";zc.exports=Gc()});var Yc=Z(Oi=>{"use strict";var Uf=Li(),Hf=Symbol.for("react.transitional.element"),Wf=Symbol.for("react.fragment");if(!Uf.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');function Xc(e,t,s){var i=null;if(s!==void 0&&(i=""+s),t.key!==void 0&&(i=""+t.key),"key"in t){s={};for(var r in t)r!=="key"&&(s[r]=t[r])}else s=t;return t=s.ref,{$$typeof:Hf,type:e,key:i,ref:t!==void 0?t:null,props:s}}Oi.Fragment=Wf;Oi.jsx=Xc;Oi.jsxDEV=void 0;Oi.jsxs=Xc});var Qc=Z((s_,Jc)=>{"use strict";Jc.exports=Yc()});var Zc=Z(jn=>{"use strict";var Gf=Li();function ns(){}var Sn={d:{f:ns,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:ns,C:ns,L:ns,m:ns,X:ns,S:ns,M:ns},p:0,findDOMNode:null};if(!Gf.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');function br(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}jn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Sn;jn.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Sn.d.C(e,t))};jn.prefetchDNS=function(e){typeof e=="string"&&Sn.d.D(e)};jn.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var s=t.as,i=br(s,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;s==="style"?Sn.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:a}):s==="script"&&Sn.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};jn.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var s=br(t.as,t.crossOrigin);Sn.d.M(e,{crossOrigin:s,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Sn.d.M(e)};jn.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var s=t.as,i=br(s,t.crossOrigin);Sn.d.L(e,s,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};jn.preloadModule=function(e,t){if(typeof e=="string")if(t){var s=br(t.as,t.crossOrigin);Sn.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:s,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Sn.d.m(e)};jn.version="19.0.0"});var tu=Z((r_,eu)=>{"use strict";eu.exports=Zc()});var e1=Z(En=>{"use strict";var zf=tu(),Xf=Li(),ku=new MessageChannel,vu=[];ku.port1.onmessage=function(){var e=vu.shift();e&&e()};function Bi(e){vu.push(e),ku.port2.postMessage(null)}function Yf(e){setTimeout(function(){throw e})}var Jf=Promise,xu=typeof queueMicrotask=="function"?queueMicrotask:function(e){Jf.resolve(null).then(e).catch(Yf)},on=null,an=0;function Cr(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<an&&(e.enqueue(new Uint8Array(on.buffer,0,an)),on=new Uint8Array(2048),an=0),e.enqueue(t);else{var s=on.length-an;s<t.byteLength&&(s===0?e.enqueue(on):(on.set(t.subarray(0,s),an),e.enqueue(on),t=t.subarray(s)),on=new Uint8Array(2048),an=0),on.set(t,an),an+=t.byteLength}return!0}var Qf=new TextEncoder;function cn(e){return Qf.encode(e)}function la(e){return e.byteLength}function gu(e,t){typeof e.error=="function"?e.error(t):e.close()}var rs=Symbol.for("react.client.reference"),Ar=Symbol.for("react.server.reference");function ei(e,t,s){return Object.defineProperties(e,{$$typeof:{value:rs},$$id:{value:t},$$async:{value:s}})}var Zf=Function.prototype.bind,ed=Array.prototype.slice;function _u(){var e=Zf.apply(this,arguments);if(this.$$typeof===Ar){var t=ed.call(arguments,1),s={value:Ar},i={value:this.$$id};return t={value:this.$$bound?this.$$bound.concat(t):t},Object.defineProperties(e,{$$typeof:s,$$id:i,$$bound:t,bind:{value:_u,configurable:!0}})}return e}var td={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},nd=Promise.prototype,sd={get:function(e,t){switch(t){case"$$typeof":return e.$$typeof;case"$$id":return e.$$id;case"$$async":return e.$$async;case"name":return e.name;case"displayName":return;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":throw Error("Cannot await or return from a thenable. You cannot await a client module from a server component.")}throw Error("Cannot access "+(String(e.name)+"."+String(t))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.")},set:function(){throw Error("Cannot assign to a client module from a server module.")}};function nu(e,t){switch(t){case"$$typeof":return e.$$typeof;case"$$id":return e.$$id;case"$$async":return e.$$async;case"name":return e.name;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var s=e.$$id;return e.default=ei(function(){throw Error("Attempted to call the default export of "+s+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},e.$$id+"#",e.$$async),!0;case"then":if(e.then)return e.then;if(e.$$async)return;var i=ei({},e.$$id,!0),r=new Proxy(i,bu);return e.status="fulfilled",e.value=r,e.then=ei(function(a){return Promise.resolve(a(r))},e.$$id+"#then",!1)}if(typeof t=="symbol")throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");return i=e[t],i||(i=ei(function(){throw Error("Attempted to call "+String(t)+"() from the server but "+String(t)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},e.$$id+"#"+t,e.$$async),Object.defineProperty(i,"name",{value:t}),i=e[t]=new Proxy(i,sd)),i}var bu={get:function(e,t){return nu(e,t)},getOwnPropertyDescriptor:function(e,t){var s=Object.getOwnPropertyDescriptor(e,t);return s||(s={value:nu(e,t),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(e,t,s)),s},getPrototypeOf:function(){return nd},set:function(){throw Error("Cannot assign to a client module from a server module.")}},Cu=zf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,qn=Cu.d;Cu.d={f:qn.f,r:qn.r,D:id,C:rd,L:Sr,m:wu,X:ad,S:od,M:ld};function id(e){if(typeof e=="string"&&e){var t=rt||null;if(t){var s=t.hints,i="D|"+e;s.has(i)||(s.add(i),Ut(t,"D",e))}else qn.D(e)}}function rd(e,t){if(typeof e=="string"){var s=rt||null;if(s){var i=s.hints,r="C|"+(t??"null")+"|"+e;i.has(r)||(i.add(r),typeof t=="string"?Ut(s,"C",[e,t]):Ut(s,"C",e))}else qn.C(e,t)}}function Sr(e,t,s){if(typeof e=="string"){var i=rt||null;if(i){var r=i.hints,a="L";if(t==="image"&&s){var u=s.imageSrcSet,d=s.imageSizes,y="";typeof u=="string"&&u!==""?(y+="["+u+"]",typeof d=="string"&&(y+="["+d+"]")):y+="[][]"+e,a+="[image]"+y}else a+="["+t+"]"+e;r.has(a)||(r.add(a),(s=ji(s))?Ut(i,"L",[e,t,s]):Ut(i,"L",[e,t]))}else qn.L(e,t,s)}}function wu(e,t){if(typeof e=="string"){var s=rt||null;if(s){var i=s.hints,r="m|"+e;return i.has(r)?void 0:(i.add(r),(t=ji(t))?Ut(s,"m",[e,t]):Ut(s,"m",e))}qn.m(e,t)}}function od(e,t,s){if(typeof e=="string"){var i=rt||null;if(i){var r=i.hints,a="S|"+e;return r.has(a)?void 0:(r.add(a),(s=ji(s))?Ut(i,"S",[e,typeof t=="string"?t:0,s]):typeof t=="string"?Ut(i,"S",[e,t]):Ut(i,"S",e))}qn.S(e,t,s)}}function ad(e,t){if(typeof e=="string"){var s=rt||null;if(s){var i=s.hints,r="X|"+e;return i.has(r)?void 0:(i.add(r),(t=ji(t))?Ut(s,"X",[e,t]):Ut(s,"X",e))}qn.X(e,t)}}function ld(e,t){if(typeof e=="string"){var s=rt||null;if(s){var i=s.hints,r="M|"+e;return i.has(r)?void 0:(i.add(r),(t=ji(t))?Ut(s,"M",[e,t]):Ut(s,"M",e))}qn.M(e,t)}}function ji(e){if(e==null)return null;var t=!1,s={},i;for(i in e)e[i]!=null&&(t=!0,s[i]=e[i]);return t?s:null}function cd(e,t,s){switch(t){case"img":t=s.src;var i=s.srcSet;if(!(s.loading==="lazy"||!t&&!i||typeof t!="string"&&t!=null||typeof i!="string"&&i!=null||s.fetchPriority==="low"||e&3)&&(typeof t!="string"||t[4]!==":"||t[0]!=="d"&&t[0]!=="D"||t[1]!=="a"&&t[1]!=="A"||t[2]!=="t"&&t[2]!=="T"||t[3]!=="a"&&t[3]!=="A")&&(typeof i!="string"||i[4]!==":"||i[0]!=="d"&&i[0]!=="D"||i[1]!=="a"&&i[1]!=="A"||i[2]!=="t"&&i[2]!=="T"||i[3]!=="a"&&i[3]!=="A")){var r=typeof s.sizes=="string"?s.sizes:void 0,a=s.crossOrigin;Sr(t||"","image",{imageSrcSet:i,imageSizes:r,crossOrigin:typeof a=="string"?a==="use-credentials"?a:"":void 0,integrity:s.integrity,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy})}return e;case"link":if(t=s.rel,i=s.href,!(e&1||s.itemProp!=null||typeof t!="string"||typeof i!="string"||i===""))switch(t){case"preload":Sr(i,s.as,{crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy,imageSrcSet:s.imageSrcSet,imageSizes:s.imageSizes,media:s.media});break;case"modulepreload":wu(i,{as:s.as,crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce});break;case"stylesheet":Sr(i,"stylesheet",{crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy,media:s.media})}return e;case"picture":return e|2;case"noscript":return e|1;default:return e}}var ca=Symbol.for("react.temporary.reference"),ud={get:function(e,t){switch(t){case"$$typeof":return e.$$typeof;case"name":return;case"displayName":return;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":return}throw Error("Cannot access "+String(t)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.")},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.")}};function pd(e,t){var s=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},{$$typeof:{value:ca}});return s=new Proxy(s,ud),e.set(s,t),s}var hd=Symbol.for("react.element"),In=Symbol.for("react.transitional.element"),ua=Symbol.for("react.fragment"),su=Symbol.for("react.context"),Su=Symbol.for("react.forward_ref"),fd=Symbol.for("react.suspense"),dd=Symbol.for("react.suspense_list"),Iu=Symbol.for("react.memo"),$i=Symbol.for("react.lazy"),md=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var iu=Symbol.iterator;function Eu(e){return e===null||typeof e!="object"?null:(e=iu&&e[iu]||e["@@iterator"],typeof e=="function"?e:null)}var Ss=Symbol.asyncIterator;function Cs(){}var pa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");function yd(e,t,s){switch(s=e[s],s===void 0?e.push(t):s!==t&&(t.then(Cs,Cs),t=s),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Cs,Cs):(e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Ir=t,pa}}var Ir=null;function Au(){if(Ir===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Ir;return Ir=null,e}var Mi=null,ta=0,ti=null;function Pu(){var e=ti||[];return ti=null,e}var Nu={readContext:na,use:vd,useCallback:function(e){return e},useContext:na,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:function(e){return e()},useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:function(){},useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:kd,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:function(e){for(var t=Array(e),s=0;s<e;s++)t[s]=md;return t},useCacheRefresh:function(){return Td}};Nu.useEffectEvent=Bt;function Bt(){throw Error("This Hook is not supported in Server Components.")}function Td(){throw Error("Refreshing the cache is not supported in Server Components.")}function na(){throw Error("Cannot read a Client Context from a Server Component.")}function kd(){if(Mi===null)throw Error("useId can only be used while React is rendering");var e=Mi.identifierCount++;return"_"+Mi.identifierPrefix+"S_"+e.toString(32)+"_"}function vd(e){if(e!==null&&typeof e=="object"||typeof e=="function"){if(typeof e.then=="function"){var t=ta;return ta+=1,ti===null&&(ti=[]),yd(ti,e,t)}e.$$typeof===su&&na()}throw e.$$typeof===rs?e.value!=null&&e.value.$$typeof===su?Error("Cannot read a Client Context from a Server Component."):Error("Cannot use() an already resolved Client Reference."):Error("An unsupported type was passed to use(): "+String(e))}var ru={getCacheForType:function(e){var t=(t=rt||null)?t.cache:new Map,s=t.get(e);return s===void 0&&(s=e(),t.set(e,s)),s},cacheSignal:function(){var e=rt||null;return e?e.cacheController.signal:null}},Is=Xf.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!Is)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var Tn=Array.isArray,si=Object.getPrototypeOf;function Ru(e){return e=Object.prototype.toString.call(e),e.slice(8,e.length-1)}function ou(e){switch(typeof e){case"string":return JSON.stringify(10>=e.length?e:e.slice(0,10)+"...");case"object":return Tn(e)?"[...]":e!==null&&e.$$typeof===sa?"client":(e=Ru(e),e==="Object"?"{...}":e);case"function":return e.$$typeof===sa?"client":(e=e.displayName||e.name)?"function "+e:"function";default:return String(e)}}function Er(e){if(typeof e=="string")return e;switch(e){case fd:return"Suspense";case dd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Su:return Er(e.render);case Iu:return Er(e.type);case $i:var t=e._payload;e=e._init;try{return Er(e(t))}catch{}}return""}var sa=Symbol.for("react.client.reference");function _s(e,t){var s=Ru(e);if(s!=="Object"&&s!=="Array")return s;s=-1;var i=0;if(Tn(e)){for(var r="[",a=0;a<e.length;a++){0<a&&(r+=", ");var u=e[a];u=typeof u=="object"&&u!==null?_s(u):ou(u),""+a===t?(s=r.length,i=u.length,r+=u):r=10>u.length&&40>r.length+u.length?r+u:r+"..."}r+="]"}else if(e.$$typeof===In)r="<"+Er(e.type)+"/>";else{if(e.$$typeof===sa)return"client";for(r="{",a=Object.keys(e),u=0;u<a.length;u++){0<u&&(r+=", ");var d=a[u],y=JSON.stringify(d);r+=('"'+d+'"'===y?d:y)+": ",y=e[d],y=typeof y=="object"&&y!==null?_s(y):ou(y),d===t?(s=r.length,i=y.length,r+=y):r=10>y.length&&40>r.length+y.length?r+y:r+"..."}r+="}"}return t===void 0?r:-1<s&&0<i?(e=" ".repeat(s)+"^".repeat(i),` +"use strict";(()=>{var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var su=Z(ft=>{"use strict";var ni={H:null,A:null};function ta(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)t+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Jc=Array.isArray,na=Symbol.for("react.transitional.element"),Kf=Symbol.for("react.portal"),qf=Symbol.for("react.fragment"),Uf=Symbol.for("react.strict_mode"),Hf=Symbol.for("react.profiler"),Wf=Symbol.for("react.forward_ref"),Gf=Symbol.for("react.suspense"),zf=Symbol.for("react.memo"),tu=Symbol.for("react.lazy"),Qc=Symbol.iterator;function Xf(e){return e===null||typeof e!="object"?null:(e=Qc&&e[Qc]||e["@@iterator"],typeof e=="function"?e:null)}var nu=Object.prototype.hasOwnProperty,Yf=Object.assign;function sa(e,t,s,i,r,a){return s=a.ref,{$$typeof:na,type:e,key:t,ref:s!==void 0?s:null,props:a}}function Jf(e,t){return sa(e.type,t,void 0,void 0,void 0,e.props)}function ia(e){return typeof e=="object"&&e!==null&&e.$$typeof===na}function Qf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(s){return t[s]})}var Zc=/\/+/g;function Zo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Qf(""+e.key):t.toString(36)}function eu(){}function Zf(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(eu,eu):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ti(e,t,s,i,r){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(a){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case na:case Kf:u=!0;break;case tu:return u=e._init,ti(u(e._payload),t,s,i,r)}}if(u)return r=r(e),u=i===""?"."+Zo(e,0):i,Jc(r)?(s="",u!=null&&(s=u.replace(Zc,"$&/")+"/"),ti(r,t,s,"",function(g){return g})):r!=null&&(ia(r)&&(r=Jf(r,s+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(Zc,"$&/")+"/")+u)),t.push(r)),1;u=0;var d=i===""?".":i+":";if(Jc(e))for(var v=0;v<e.length;v++)i=e[v],a=d+Zo(i,v),u+=ti(i,t,s,a,r);else if(v=Xf(e),typeof v=="function")for(e=v.call(e),v=0;!(i=e.next()).done;)i=i.value,a=d+Zo(i,v++),u+=ti(i,t,s,a,r);else if(a==="object"){if(typeof e.then=="function")return ti(Zf(e),t,s,i,r);throw t=String(e),Error(ta(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}return u}function Ir(e,t,s){if(e==null)return e;var i=[],r=0;return ti(e,i,"","",function(a){return t.call(s,a,r++)}),i}function ed(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(s){(e._status===0||e._status===-1)&&(e._status=1,e._result=s)},function(s){(e._status===0||e._status===-1)&&(e._status=2,e._result=s)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}function td(){return new WeakMap}function ea(){return{s:0,v:void 0,o:null,p:null}}ft.Children={map:Ir,forEach:function(e,t,s){Ir(e,function(){t.apply(this,arguments)},s)},count:function(e){var t=0;return Ir(e,function(){t++}),t},toArray:function(e){return Ir(e,function(t){return t})||[]},only:function(e){if(!ia(e))throw Error(ta(143));return e}};ft.Fragment=qf;ft.Profiler=Hf;ft.StrictMode=Uf;ft.Suspense=Gf;ft.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ni;ft.cache=function(e){return function(){var t=ni.A;if(!t)return e.apply(null,arguments);var s=t.getCacheForType(td);t=s.get(e),t===void 0&&(t=ea(),s.set(e,t)),s=0;for(var i=arguments.length;s<i;s++){var r=arguments[s];if(typeof r=="function"||typeof r=="object"&&r!==null){var a=t.o;a===null&&(t.o=a=new WeakMap),t=a.get(r),t===void 0&&(t=ea(),a.set(r,t))}else a=t.p,a===null&&(t.p=a=new Map),t=a.get(r),t===void 0&&(t=ea(),a.set(r,t))}if(t.s===1)return t.v;if(t.s===2)throw t.v;try{var u=e.apply(null,arguments);return s=t,s.s=1,s.v=u}catch(d){throw u=t,u.s=2,u.v=d,d}}};ft.cloneElement=function(e,t,s){if(e==null)throw Error(ta(267,e));var i=Yf({},e.props),r=e.key,a=void 0;if(t!=null)for(u in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(r=""+t.key),t)!nu.call(t,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&t.ref===void 0||(i[u]=t[u]);var u=arguments.length-2;if(u===1)i.children=s;else if(1<u){for(var d=Array(u),v=0;v<u;v++)d[v]=arguments[v+2];i.children=d}return sa(e.type,r,void 0,void 0,a,i)};ft.createElement=function(e,t,s){var i,r={},a=null;if(t!=null)for(i in t.key!==void 0&&(a=""+t.key),t)nu.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var u=arguments.length-2;if(u===1)r.children=s;else if(1<u){for(var d=Array(u),v=0;v<u;v++)d[v]=arguments[v+2];r.children=d}if(e&&e.defaultProps)for(i in u=e.defaultProps,u)r[i]===void 0&&(r[i]=u[i]);return sa(e,a,void 0,void 0,null,r)};ft.createRef=function(){return{current:null}};ft.forwardRef=function(e){return{$$typeof:Wf,render:e}};ft.isValidElement=ia;ft.lazy=function(e){return{$$typeof:tu,_payload:{_status:-1,_result:e},_init:ed}};ft.memo=function(e,t){return{$$typeof:zf,type:e,compare:t===void 0?null:t}};ft.use=function(e){return ni.H.use(e)};ft.useCallback=function(e,t){return ni.H.useCallback(e,t)};ft.useDebugValue=function(){};ft.useId=function(){return ni.H.useId()};ft.useMemo=function(e,t){return ni.H.useMemo(e,t)};ft.version="19.0.0"});var Di=Z((m_,iu)=>{"use strict";iu.exports=su()});var ou=Z(Mi=>{"use strict";var nd=Di(),sd=Symbol.for("react.transitional.element"),id=Symbol.for("react.fragment");if(!nd.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');function ru(e,t,s){var i=null;if(s!==void 0&&(i=""+s),t.key!==void 0&&(i=""+t.key),"key"in t){s={};for(var r in t)r!=="key"&&(s[r]=t[r])}else s=t;return t=s.ref,{$$typeof:sd,type:e,key:i,ref:t!==void 0?t:null,props:s}}Mi.Fragment=id;Mi.jsx=ru;Mi.jsxDEV=void 0;Mi.jsxs=ru});var lu=Z((y_,au)=>{"use strict";au.exports=ou()});var cu=Z(qn=>{"use strict";var rd=Di();function as(){}var In={d:{f:as,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:as,C:as,L:as,m:as,X:as,S:as,M:as},p:0,findDOMNode:null};if(!rd.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');function Er(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=In;qn.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,In.d.C(e,t))};qn.prefetchDNS=function(e){typeof e=="string"&&In.d.D(e)};qn.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var s=t.as,i=Er(s,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;s==="style"?In.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:a}):s==="script"&&In.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};qn.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var s=Er(t.as,t.crossOrigin);In.d.M(e,{crossOrigin:s,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&In.d.M(e)};qn.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var s=t.as,i=Er(s,t.crossOrigin);In.d.L(e,s,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};qn.preloadModule=function(e,t){if(typeof e=="string")if(t){var s=Er(t.as,t.crossOrigin);In.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:s,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else In.d.m(e)};qn.version="19.0.0"});var pu=Z((v_,uu)=>{"use strict";uu.exports=cu()});var h1=Z(Nn=>{"use strict";var od=pu(),ad=Di();function ce(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)t+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Eu=new MessageChannel,Au=[];Eu.port1.onmessage=function(){var e=Au.shift();e&&e()};function Ki(e){Au.push(e),Eu.port2.postMessage(null)}function ld(e){setTimeout(function(){throw e})}var cd=Promise,Pu=typeof queueMicrotask=="function"?queueMicrotask:function(e){cd.resolve(null).then(e).catch(ld)},cn=null,un=0;function Nu(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<un&&(e.enqueue(new Uint8Array(cn.buffer,0,un)),cn=new Uint8Array(2048),un=0),e.enqueue(t);else{var s=cn.length-un;s<t.byteLength&&(s===0?e.enqueue(cn):(cn.set(t.subarray(0,s),un),e.enqueue(cn),t=t.subarray(s)),cn=new Uint8Array(2048),un=0),cn.set(t,un),un+=t.byteLength}}function Fi(e,t){return Nu(e,t),!0}var ud=new TextEncoder;function Jt(e){return ud.encode(e)}function Ta(e){return e.byteLength}function Ru(e,t){typeof e.error=="function"?e.error(t):e.close()}var us=Symbol.for("react.client.reference"),Dr=Symbol.for("react.server.reference");function si(e,t,s){return Object.defineProperties(e,{$$typeof:{value:us},$$id:{value:t},$$async:{value:s}})}var pd=Function.prototype.bind,hd=Array.prototype.slice;function Lu(){var e=pd.apply(this,arguments);if(this.$$typeof===Dr){var t=hd.call(arguments,1),s={value:Dr},i={value:this.$$id};return t={value:this.$$bound?this.$$bound.concat(t):t},Object.defineProperties(e,{$$typeof:s,$$id:i,$$bound:t,bind:{value:Lu,configurable:!0}})}return e}var fd={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},dd=Promise.prototype,md={get:function(e,t,s){switch(t){case"$$typeof":return e.$$typeof;case"$$id":return e.$$id;case"$$async":return e.$$async;case"name":return e.name;case"displayName":return;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":return s;case"then":throw Error(ce(590))}throw Error(ce(591,String(e.name)+"."+String(t)))},set:function(){throw Error(ce(592))}};function hu(e,t){switch(t){case"$$typeof":return e.$$typeof;case"$$id":return e.$$id;case"$$async":return e.$$async;case"name":return e.name;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var s=e.$$id;return e.default=si(function(){throw Error(ce(593,s))},e.$$id+"#",e.$$async),!0;case"then":if(e.then)return e.then;if(e.$$async)return;var i=si({},e.$$id,!0),r=new Proxy(i,Ou);return e.status="fulfilled",e.value=r,e.then=si(function(a){return Promise.resolve(a(r))},e.$$id+"#then",!1)}if(typeof t=="symbol")throw Error(ce(594));return i=e[t],i||(i=si(function(){throw Error(ce(595,String(t),String(t)))},e.$$id+"#"+t,e.$$async),Object.defineProperty(i,"name",{value:t}),i=e[t]=new Proxy(i,md)),i}var Ou={get:function(e,t){return hu(e,t)},getOwnPropertyDescriptor:function(e,t){var s=Object.getOwnPropertyDescriptor(e,t);return s||(s={value:hu(e,t),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(e,t,s)),s},getPrototypeOf:function(){return dd},set:function(){throw Error(ce(592))}},Du=od.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Wn=Du.d;Du.d={f:Wn.f,r:Wn.r,D:Td,C:yd,L:Pr,m:Mu,X:vd,S:kd,M:xd};function Td(e){if(typeof e=="string"&&e){var t=ot||null;if(t){var s=t.hints,i="D|"+e;s.has(i)||(s.add(i),Ht(t,"D",e))}else Wn.D(e)}}function yd(e,t){if(typeof e=="string"){var s=ot||null;if(s){var i=s.hints,r="C|"+(t??"null")+"|"+e;i.has(r)||(i.add(r),typeof t=="string"?Ht(s,"C",[e,t]):Ht(s,"C",e))}else Wn.C(e,t)}}function Pr(e,t,s){if(typeof e=="string"){var i=ot||null;if(i){var r=i.hints,a="L";if(t==="image"&&s){var u=s.imageSrcSet,d=s.imageSizes,v="";typeof u=="string"&&u!==""?(v+="["+u+"]",typeof d=="string"&&(v+="["+d+"]")):v+="[][]"+e,a+="[image]"+v}else a+="["+t+"]"+e;r.has(a)||(r.add(a),(s=Ui(s))?Ht(i,"L",[e,t,s]):Ht(i,"L",[e,t]))}else Wn.L(e,t,s)}}function Mu(e,t){if(typeof e=="string"){var s=ot||null;if(s){var i=s.hints,r="m|"+e;return i.has(r)?void 0:(i.add(r),(t=Ui(t))?Ht(s,"m",[e,t]):Ht(s,"m",e))}Wn.m(e,t)}}function kd(e,t,s){if(typeof e=="string"){var i=ot||null;if(i){var r=i.hints,a="S|"+e;return r.has(a)?void 0:(r.add(a),(s=Ui(s))?Ht(i,"S",[e,typeof t=="string"?t:0,s]):typeof t=="string"?Ht(i,"S",[e,t]):Ht(i,"S",e))}Wn.S(e,t,s)}}function vd(e,t){if(typeof e=="string"){var s=ot||null;if(s){var i=s.hints,r="X|"+e;return i.has(r)?void 0:(i.add(r),(t=Ui(t))?Ht(s,"X",[e,t]):Ht(s,"X",e))}Wn.X(e,t)}}function xd(e,t){if(typeof e=="string"){var s=ot||null;if(s){var i=s.hints,r="M|"+e;return i.has(r)?void 0:(i.add(r),(t=Ui(t))?Ht(s,"M",[e,t]):Ht(s,"M",e))}Wn.M(e,t)}}function Ui(e){if(e==null)return null;var t=!1,s={},i;for(i in e)e[i]!=null&&(t=!0,s[i]=e[i]);return t?s:null}function gd(e,t,s){switch(t){case"img":t=s.src;var i=s.srcSet;if(!(s.loading==="lazy"||!t&&!i||typeof t!="string"&&t!=null||typeof i!="string"&&i!=null||s.fetchPriority==="low"||e&3)&&(typeof t!="string"||t[4]!==":"||t[0]!=="d"&&t[0]!=="D"||t[1]!=="a"&&t[1]!=="A"||t[2]!=="t"&&t[2]!=="T"||t[3]!=="a"&&t[3]!=="A")&&(typeof i!="string"||i[4]!==":"||i[0]!=="d"&&i[0]!=="D"||i[1]!=="a"&&i[1]!=="A"||i[2]!=="t"&&i[2]!=="T"||i[3]!=="a"&&i[3]!=="A")){var r=typeof s.sizes=="string"?s.sizes:void 0,a=s.crossOrigin;Pr(t||"","image",{imageSrcSet:i,imageSizes:r,crossOrigin:typeof a=="string"?a==="use-credentials"?a:"":void 0,integrity:s.integrity,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy})}return e;case"link":if(t=s.rel,i=s.href,!(e&1||s.itemProp!=null||typeof t!="string"||typeof i!="string"||i===""))switch(t){case"preload":Pr(i,s.as,{crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy,imageSrcSet:s.imageSrcSet,imageSizes:s.imageSizes,media:s.media});break;case"modulepreload":Mu(i,{as:s.as,crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce});break;case"stylesheet":Pr(i,"style",{crossOrigin:s.crossOrigin,integrity:s.integrity,nonce:s.nonce,type:s.type,fetchPriority:s.fetchPriority,referrerPolicy:s.referrerPolicy,media:s.media})}return e;case"picture":return e|2;case"noscript":return e|1;default:return e}}var ya=Symbol.for("react.temporary.reference"),_d={get:function(e,t,s){switch(t){case"$$typeof":return e.$$typeof;case"name":return;case"displayName":return;case"defaultProps":return;case"_debugInfo":return;case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":return s;case"then":return}throw Error(ce(514,String(t)))},set:function(){throw Error(ce(515))}};function bd(e,t){var s=Object.defineProperties(function(){throw Error(ce(516))},{$$typeof:{value:ya}});return s=new Proxy(s,_d),e.set(s,t),s}var Cd=Symbol.for("react.element"),En=Symbol.for("react.transitional.element"),ka=Symbol.for("react.fragment"),fu=Symbol.for("react.context"),Fu=Symbol.for("react.forward_ref"),wd=Symbol.for("react.suspense"),Sd=Symbol.for("react.suspense_list"),Bu=Symbol.for("react.memo"),Hi=Symbol.for("react.lazy"),Id=Symbol.for("react.memo_cache_sentinel"),Ed=Symbol.for("react.view_transition"),du=Symbol.iterator;function Vu(e){return e===null||typeof e!="object"?null:(e=du&&e[du]||e["@@iterator"],typeof e=="function"?e:null)}var As=Symbol.asyncIterator,ii=Symbol.for("react.optimistic_key");function An(){}var va=Error(ce(460));function Ad(e,t,s){switch(s=e[s],s===void 0?e.push(t):s!==t&&(t.then(An,An),t=s),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===void 0&&!("reason"in t)?Error(ce(600)):e;default:switch(typeof t.status=="string"?t.then(An,An):(e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Nr=t,va}}var Nr=null;function ju(){if(Nr===null)throw Error(ce(459));var e=Nr;return Nr=null,e}var Vi=null,oa=0,ri=null;function $u(){var e=ri||[];return ri=null,e}var Pd={readContext:aa,use:Ld,useCallback:function(e){return e},useContext:aa,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:function(e){return e()},useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:function(){},useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:Rd,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:function(e){for(var t=Array(e),s=0;s<e;s++)t[s]=Id;return t},useCacheRefresh:function(){return Nd},useEffectEvent:Bt};function Bt(){throw Error(ce(373))}function Nd(){throw Error(ce(384))}function aa(){throw Error(ce(502))}function Rd(){if(Vi===null)throw Error(ce(433));var e=Vi.identifierCount++;return"_"+Vi.identifierPrefix+"S_"+e.toString(32)+"_"}function Ld(e){if(e!==null&&typeof e=="object"||typeof e=="function"){if(typeof e.then=="function"){var t=oa;return oa+=1,ri===null&&(ri=[]),Ad(ri,e,t)}e.$$typeof===fu&&aa()}throw e.$$typeof===us?e.value!=null&&e.value.$$typeof===fu?Error(ce(502)):Error(ce(503)):Error(ce(438,String(e)))}var mu={getCacheForType:function(e){var t=(t=ot||null)?t.cache:new Map,s=t.get(e);return s===void 0&&(s=e(),t.set(e,s)),s},cacheSignal:function(){var e=ot||null;return e?e.cacheController.signal:null}},Ps=ad.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!Ps)throw Error(ce(492));var Qt=Array.isArray,Ns=Object.getPrototypeOf;function Ku(e){return e=Object.prototype.toString.call(e),e.slice(8,e.length-1)}function Tu(e){switch(typeof e){case"string":return JSON.stringify(10>=e.length?e:e.slice(0,10)+"...");case"object":return Qt(e)?"[...]":e!==null&&e.$$typeof===la?"client":(e=Ku(e),e==="Object"?"{...}":e);case"function":return e.$$typeof===la?"client":(e=e.displayName||e.name)?"function "+e:"function";default:return String(e)}}function Rr(e){if(typeof e=="string")return e;switch(e){case wd:return"Suspense";case Sd:return"SuspenseList";case Ed:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case Fu:return Rr(e.render);case Bu:return Rr(e.type);case Hi:var t=e._payload;e=e._init;try{return Rr(e(t))}catch{}}return""}var la=Symbol.for("react.client.reference");function Ss(e,t){var s=Ku(e);if(s!=="Object"&&s!=="Array")return s;s=-1;var i=0;if(Qt(e)){for(var r="[",a=0;a<e.length;a++){0<a&&(r+=", ");var u=e[a];u=typeof u=="object"&&u!==null?Ss(u):Tu(u),""+a===t?(s=r.length,i=u.length,r+=u):r=10>u.length&&40>r.length+u.length?r+u:r+"..."}r+="]"}else if(e.$$typeof===En)r="<"+Rr(e.type)+"/>";else{if(e.$$typeof===la)return"client";for(r="{",a=Object.keys(e),u=0;u<a.length;u++){0<u&&(r+=", ");var d=a[u],v=JSON.stringify(d);r+=('"'+d+'"'===v?d:v)+": ",v=e[d],v=typeof v=="object"&&v!==null?Ss(v):Tu(v),d===t?(s=r.length,i=v.length,r+=v):r=10>v.length&&40>r.length+v.length?r+v:r+"..."}r+="}"}return t===void 0?r:-1<s&&0<i?(e=" ".repeat(s)+"^".repeat(i),` `+r+` `+e):` - `+r}var Nr=Object.prototype.hasOwnProperty,xd=Object.prototype,Es=JSON.stringify;function gd(e){console.error(e)}function Lu(e,t,s,i,r,a,u,d,y){if(Is.A!==null&&Is.A!==ru)throw Error("Currently React only supports one RSC renderer at a time.");Is.A=ru;var g=new Set,L=[],p=new Set;this.type=e,this.status=10,this.flushScheduled=!1,this.destination=this.fatalError=null,this.bundlerConfig=s,this.cache=new Map,this.cacheController=new AbortController,this.pendingChunks=this.nextChunkId=0,this.hints=p,this.abortableTasks=g,this.pingedTasks=L,this.completedImportChunks=[],this.completedHintChunks=[],this.completedRegularChunks=[],this.completedErrorChunks=[],this.writtenSymbols=new Map,this.writtenClientReferences=new Map,this.writtenServerReferences=new Map,this.writtenObjects=new WeakMap,this.temporaryReferences=y,this.identifierPrefix=d||"",this.identifierCount=1,this.taintCleanupQueue=[],this.onError=i===void 0?gd:i,this.onPostpone=r===void 0?Cs:r,this.onAllReady=a,this.onFatalError=u,e=os(this,t,null,!1,0,g),L.push(e)}var rt=null;function au(e,t,s){var i=os(e,s,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);switch(s.status){case"fulfilled":return i.model=s.value,Vi(e,i),i.id;case"rejected":return Un(e,i,s.reason),i.id;default:if(e.status===12)return e.abortableTasks.delete(i),e.type===21?(ii(i),ri(i,e)):(t=e.fatalError,ha(i),fa(i,e,t)),i.id;typeof s.status!="string"&&(s.status="pending",s.then(function(r){s.status==="pending"&&(s.status="fulfilled",s.value=r)},function(r){s.status==="pending"&&(s.status="rejected",s.reason=r)}))}return s.then(function(r){i.model=r,Vi(e,i)},function(r){i.status===0&&(Un(e,i,r),ln(e))}),i.id}function _d(e,t,s){function i(g){if(y.status===0)if(g.done)y.status=1,g=y.id.toString(16)+`:C -`,e.completedRegularChunks.push(cn(g)),e.abortableTasks.delete(y),e.cacheController.signal.removeEventListener("abort",a),ln(e),Or(e);else try{y.model=g.value,e.pendingChunks++,Vu(e,y),ln(e),d.read().then(i,r)}catch(L){r(L)}}function r(g){y.status===0&&(e.cacheController.signal.removeEventListener("abort",a),Un(e,y,g),ln(e),d.cancel(g).then(r,r))}function a(){if(y.status===0){var g=e.cacheController.signal;g.removeEventListener("abort",a),g=g.reason,e.type===21?(e.abortableTasks.delete(y),ii(y),ri(y,e)):(Un(e,y,g),ln(e)),d.cancel(g).then(r,r)}}var u=s.supportsBYOB;if(u===void 0)try{s.getReader({mode:"byob"}).releaseLock(),u=!0}catch{u=!1}var d=s.getReader(),y=os(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);return e.pendingChunks++,t=y.id.toString(16)+":"+(u?"r":"R")+` -`,e.completedRegularChunks.push(cn(t)),e.cacheController.signal.addEventListener("abort",a),d.read().then(i,r),Ct(y.id)}function bd(e,t,s,i){function r(y){if(d.status===0)if(y.done){if(d.status=1,y.value===void 0)var g=d.id.toString(16)+`:C -`;else try{var L=bs(e,y.value,0);g=d.id.toString(16)+":C"+Es(Ct(L))+` -`}catch(p){a(p);return}e.completedRegularChunks.push(cn(g)),e.abortableTasks.delete(d),e.cacheController.signal.removeEventListener("abort",u),ln(e),Or(e)}else try{d.model=y.value,e.pendingChunks++,Vu(e,d),ln(e),i.next().then(r,a)}catch(p){a(p)}}function a(y){d.status===0&&(e.cacheController.signal.removeEventListener("abort",u),Un(e,d,y),ln(e),typeof i.throw=="function"&&i.throw(y).then(a,a))}function u(){if(d.status===0){var y=e.cacheController.signal;y.removeEventListener("abort",u);var g=y.reason;e.type===21?(e.abortableTasks.delete(d),ii(d),ri(d,e)):(Un(e,d,y.reason),ln(e)),typeof i.throw=="function"&&i.throw(g).then(a,a)}}s=s===i;var d=os(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);return e.pendingChunks++,t=d.id.toString(16)+":"+(s?"x":"X")+` -`,e.completedRegularChunks.push(cn(t)),e.cacheController.signal.addEventListener("abort",u),i.next().then(r,a),Ct(d.id)}function Ut(e,t,s){s=Es(s),t=cn(":H"+t+s+` -`),e.completedHintChunks.push(t),ln(e)}function Cd(e){if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:e}function wd(e,t,s){switch(s.status){case"fulfilled":return s.value;case"rejected":break;default:typeof s.status!="string"&&(s.status="pending",s.then(function(i){s.status==="pending"&&(s.status="fulfilled",s.value=i)},function(i){s.status==="pending"&&(s.status="rejected",s.reason=i)}))}return{$$typeof:$i,_payload:s,_init:Cd}}function lu(){}function Sd(e,t,s,i){if(typeof i!="object"||i===null||i.$$typeof===rs)return i;if(typeof i.then=="function")return wd(e,t,i);var r=Eu(i);return r?(e={},e[Symbol.iterator]=function(){return r.call(i)},e):typeof i[Ss]!="function"||typeof ReadableStream=="function"&&i instanceof ReadableStream?i:(e={},e[Ss]=function(){return i[Ss]()},e)}function cu(e,t,s,i,r){var a=t.thenableState;if(t.thenableState=null,ta=0,ti=a,r=i(r,void 0),e.status===12)throw typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.$$typeof!==rs&&r.then(lu,lu),null;return r=Sd(e,t,i,r),i=t.keyPath,a=t.implicitSlot,s!==null?t.keyPath=i===null?s:i+","+s:i===null&&(t.implicitSlot=!0),e=qi(e,t,Lr,"",r),t.keyPath=i,t.implicitSlot=a,e}function uu(e,t,s){return t.keyPath!==null?(e=[In,ua,t.keyPath,{children:s}],t.implicitSlot?[e]:e):s}var is=0;function pu(e,t){return t=os(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks),Vi(e,t),ws(t.id)}function ia(e,t,s,i,r,a){if(r!=null)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if(typeof s=="function"&&s.$$typeof!==rs&&s.$$typeof!==ca)return cu(e,t,i,s,a);if(s===ua&&i===null)return s=t.implicitSlot,t.keyPath===null&&(t.implicitSlot=!0),a=qi(e,t,Lr,"",a.children),t.implicitSlot=s,a;if(s!=null&&typeof s=="object"&&s.$$typeof!==rs)switch(s.$$typeof){case $i:var u=s._init;if(s=u(s._payload),e.status===12)throw null;return ia(e,t,s,i,r,a);case Su:return cu(e,t,i,s.render,a);case Iu:return ia(e,t,s.type,i,r,a)}else typeof s=="string"&&(r=t.formatContext,u=cd(r,s,a),r!==u&&a.children!=null&&bs(e,a.children,u));return e=i,i=t.keyPath,e===null?e=i:i!==null&&(e=i+","+e),a=[In,s,e,a],t=t.implicitSlot&&e!==null?[a]:a,t}function Vi(e,t){var s=e.pingedTasks;s.push(t),s.length===1&&(e.flushScheduled=e.destination!==null,e.type===21||e.status===10?xu(function(){return ra(e)}):Bi(function(){return ra(e)}))}function os(e,t,s,i,r,a){e.pendingChunks++;var u=e.nextChunkId++;typeof t!="object"||t===null||s!==null||i||e.writtenObjects.set(t,Ct(u));var d={id:u,status:0,model:t,keyPath:s,implicitSlot:i,formatContext:r,ping:function(){return Vi(e,d)},toJSON:function(y,g){is+=y.length;var L=d.keyPath,p=d.implicitSlot;try{var h=qi(e,d,this,y,g)}catch(x){if(y=d.model,y=typeof y=="object"&&y!==null&&(y.$$typeof===In||y.$$typeof===$i),e.status===12)d.status=3,e.type===21?(L=e.nextChunkId++,L=y?ws(L):Ct(L),h=L):(L=e.fatalError,h=y?ws(L):Ct(L));else if(g=x===pa?Au():x,typeof g=="object"&&g!==null&&typeof g.then=="function"){h=os(e,d.model,d.keyPath,d.implicitSlot,d.formatContext,e.abortableTasks);var T=h.ping;g.then(T,T),h.thenableState=Pu(),d.keyPath=L,d.implicitSlot=p,h=y?ws(h.id):Ct(h.id)}else d.keyPath=L,d.implicitSlot=p,e.pendingChunks++,L=e.nextChunkId++,p=Kn(e,g,d),Rr(e,L,p),h=y?ws(L):Ct(L)}return h},thenableState:null};return a.add(d),d}function Ct(e){return"$"+e.toString(16)}function ws(e){return"$L"+e.toString(16)}function Ou(e,t,s){return e=Es(s),t=t.toString(16)+":"+e+` -`,cn(t)}function hu(e,t,s,i){var r=i.$$async?i.$$id+"#async":i.$$id,a=e.writtenClientReferences,u=a.get(r);if(u!==void 0)return t[0]===In&&s==="1"?ws(u):Ct(u);try{var d=e.bundlerConfig,y=i.$$id;u="";var g=d[y];if(g)u=g.name;else{var L=y.lastIndexOf("#");if(L!==-1&&(u=y.slice(L+1),g=d[y.slice(0,L)]),!g)throw Error('Could not find the module "'+y+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.')}if(g.async===!0&&i.$$async===!0)throw Error('The module "'+y+'" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler.');var p=g.async===!0||i.$$async===!0?[g.id,g.chunks,u,1]:[g.id,g.chunks,u];e.pendingChunks++;var h=e.nextChunkId++,T=Es(p),x=h.toString(16)+":I"+T+` -`,w=cn(x);return e.completedImportChunks.push(w),a.set(r,h),t[0]===In&&s==="1"?ws(h):Ct(h)}catch(S){return e.pendingChunks++,t=e.nextChunkId++,s=Kn(e,S,null),Rr(e,t,s),Ct(t)}}function bs(e,t,s){return t=os(e,t,null,!1,s,e.abortableTasks),Bu(e,t),t.id}function zt(e,t,s){e.pendingChunks++;var i=e.nextChunkId++;return Kt(e,i,t,s,!1),Ct(i)}function Id(e,t){function s(y){if(u.status===0)if(y.done)e.cacheController.signal.removeEventListener("abort",r),Vi(e,u);else return a.push(y.value),d.read().then(s).catch(i)}function i(y){u.status===0&&(e.cacheController.signal.removeEventListener("abort",r),Un(e,u,y),ln(e),d.cancel(y).then(i,i))}function r(){if(u.status===0){var y=e.cacheController.signal;y.removeEventListener("abort",r),y=y.reason,e.type===21?(e.abortableTasks.delete(u),ii(u),ri(u,e)):(Un(e,u,y),ln(e)),d.cancel(y).then(i,i)}}var a=[t.type],u=os(e,a,null,!1,0,e.abortableTasks),d=t.stream().getReader();return e.cacheController.signal.addEventListener("abort",r),d.read().then(s).catch(i),"$B"+u.id.toString(16)}var ss=!1;function qi(e,t,s,i,r){if(t.model=r,r===In)return"$";if(r===null)return null;if(typeof r=="object"){switch(r.$$typeof){case In:var a=null,u=e.writtenObjects;if(t.keyPath===null&&!t.implicitSlot){var d=u.get(r);if(d!==void 0)if(ss===r)ss=null;else return d;else i.indexOf(":")===-1&&(s=u.get(s),s!==void 0&&(a=s+":"+i,u.set(r,a)))}return 3200<is?pu(e,t):(i=r.props,s=i.ref,e=ia(e,t,r.type,r.key,s!==void 0?s:null,i),typeof e=="object"&&e!==null&&a!==null&&(u.has(e)||u.set(e,a)),e);case $i:if(3200<is)return pu(e,t);if(t.thenableState=null,i=r._init,r=i(r._payload),e.status===12)throw null;return qi(e,t,Lr,"",r);case hd:throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if: -- Multiple copies of the "react" package is used. -- A library pre-bundled an old copy of "react" or "react/jsx-runtime". -- A compiler tries to "inline" JSX instead of using the runtime.`)}if(r.$$typeof===rs)return hu(e,s,i,r);if(e.temporaryReferences!==void 0&&(a=e.temporaryReferences.get(r),a!==void 0))return"$T"+a;if(a=e.writtenObjects,u=a.get(r),typeof r.then=="function"){if(u!==void 0){if(t.keyPath!==null||t.implicitSlot)return"$@"+au(e,t,r).toString(16);if(ss===r)ss=null;else return u}return e="$@"+au(e,t,r).toString(16),a.set(r,e),e}if(u!==void 0)if(ss===r){if(u!==Ct(t.id))return u;ss=null}else return u;else if(i.indexOf(":")===-1&&(u=a.get(s),u!==void 0)){if(d=i,Tn(s)&&s[0]===In)switch(i){case"1":d="type";break;case"2":d="key";break;case"3":d="props";break;case"4":d="_owner"}a.set(r,u+":"+d)}if(Tn(r))return uu(e,t,r);if(r instanceof Map)return r=Array.from(r),"$Q"+bs(e,r,0).toString(16);if(r instanceof Set)return r=Array.from(r),"$W"+bs(e,r,0).toString(16);if(typeof FormData=="function"&&r instanceof FormData)return r=Array.from(r.entries()),"$K"+bs(e,r,0).toString(16);if(r instanceof Error)return"$Z";if(r instanceof ArrayBuffer)return zt(e,"A",new Uint8Array(r));if(r instanceof Int8Array)return zt(e,"O",r);if(r instanceof Uint8Array)return zt(e,"o",r);if(r instanceof Uint8ClampedArray)return zt(e,"U",r);if(r instanceof Int16Array)return zt(e,"S",r);if(r instanceof Uint16Array)return zt(e,"s",r);if(r instanceof Int32Array)return zt(e,"L",r);if(r instanceof Uint32Array)return zt(e,"l",r);if(r instanceof Float32Array)return zt(e,"G",r);if(r instanceof Float64Array)return zt(e,"g",r);if(r instanceof BigInt64Array)return zt(e,"M",r);if(r instanceof BigUint64Array)return zt(e,"m",r);if(r instanceof DataView)return zt(e,"V",r);if(typeof Blob=="function"&&r instanceof Blob)return Id(e,r);if(a=Eu(r))return i=a.call(r),i===r?(r=Array.from(i),"$i"+bs(e,r,0).toString(16)):uu(e,t,Array.from(i));if(typeof ReadableStream=="function"&&r instanceof ReadableStream)return _d(e,t,r);if(a=r[Ss],typeof a=="function")return t.keyPath!==null?(e=[In,ua,t.keyPath,{children:r}],e=t.implicitSlot?[e]:e):(i=a.call(r),e=bd(e,t,r,i)),e;if(r instanceof Date)return"$D"+r.toJSON();if(e=si(r),e!==xd&&(e===null||si(e)!==null))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."+_s(s,i));return r}if(typeof r=="string")return is+=r.length,r[r.length-1]==="Z"&&s[i]instanceof Date?"$D"+r:1024<=r.length&&la!==null?(e.pendingChunks++,t=e.nextChunkId++,Mu(e,t,r,!1),Ct(t)):(e=r[0]==="$"?"$"+r:r,e);if(typeof r=="boolean")return r;if(typeof r=="number")return Number.isFinite(r)?r===0&&1/r===-1/0?"$-0":r:r===1/0?"$Infinity":r===-1/0?"$-Infinity":"$NaN";if(typeof r>"u")return"$undefined";if(typeof r=="function"){if(r.$$typeof===rs)return hu(e,s,i,r);if(r.$$typeof===Ar)return t=e.writtenServerReferences,i=t.get(r),i!==void 0?e="$h"+i.toString(16):(i=r.$$bound,i=i===null?null:Promise.resolve(i),e=bs(e,{id:r.$$id,bound:i},0),t.set(r,e),e="$h"+e.toString(16)),e;if(e.temporaryReferences!==void 0&&(e=e.temporaryReferences.get(r),e!==void 0))return"$T"+e;throw r.$$typeof===ca?Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server."):/^on[A-Z]/.test(i)?Error("Event handlers cannot be passed to Client Component props."+_s(s,i)+` -If you need interactivity, consider converting part of this to a Client Component.`):Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+_s(s,i))}if(typeof r=="symbol"){if(t=e.writtenSymbols,a=t.get(r),a!==void 0)return Ct(a);if(a=r.description,Symbol.for(a)!==r)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(r.description+") cannot be found among global symbols.")+_s(s,i));return e.pendingChunks++,i=e.nextChunkId++,s=Ou(e,i,"$S"+a),e.completedImportChunks.push(s),t.set(r,i),Ct(i)}if(typeof r=="bigint")return"$n"+r.toString(10);throw Error("Type "+typeof r+" is not supported in Client Component props."+_s(s,i))}function Kn(e,t){var s=rt;rt=null;try{var i=e.onError,r=i(t)}finally{rt=s}if(r!=null&&typeof r!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof r+'" instead');return r||""}function Ki(e,t){var s=e.onFatalError;s(t),e.destination!==null?(e.status=14,gu(e.destination,t)):(e.status=13,e.fatalError=t),e.cacheController.abort(Error("The render was aborted due to a fatal error.",{cause:t}))}function Rr(e,t,s){s={digest:s},t=t.toString(16)+":E"+Es(s)+` -`,t=cn(t),e.completedErrorChunks.push(t)}function Du(e,t,s){t=t.toString(16)+":"+s+` -`,t=cn(t),e.completedRegularChunks.push(t)}function Kt(e,t,s,i,r){r?e.pendingDebugChunks++:e.pendingChunks++,r=new Uint8Array(i.buffer,i.byteOffset,i.byteLength),i=2048<i.byteLength?r.slice():r,r=i.byteLength,t=t.toString(16)+":"+s+r.toString(16)+",",t=cn(t),e.completedRegularChunks.push(t,i)}function Mu(e,t,s,i){if(la===null)throw Error("Existence of byteLengthOfChunk should have already been checked. This is a bug in React.");i?e.pendingDebugChunks++:e.pendingChunks++,s=cn(s),i=s.byteLength,t=t.toString(16)+":T"+i.toString(16)+",",t=cn(t),e.completedRegularChunks.push(t,s)}function Fu(e,t,s){var i=t.id;typeof s=="string"&&la!==null?Mu(e,i,s,!1):s instanceof ArrayBuffer?Kt(e,i,"A",new Uint8Array(s),!1):s instanceof Int8Array?Kt(e,i,"O",s,!1):s instanceof Uint8Array?Kt(e,i,"o",s,!1):s instanceof Uint8ClampedArray?Kt(e,i,"U",s,!1):s instanceof Int16Array?Kt(e,i,"S",s,!1):s instanceof Uint16Array?Kt(e,i,"s",s,!1):s instanceof Int32Array?Kt(e,i,"L",s,!1):s instanceof Uint32Array?Kt(e,i,"l",s,!1):s instanceof Float32Array?Kt(e,i,"G",s,!1):s instanceof Float64Array?Kt(e,i,"g",s,!1):s instanceof BigInt64Array?Kt(e,i,"M",s,!1):s instanceof BigUint64Array?Kt(e,i,"m",s,!1):s instanceof DataView?Kt(e,i,"V",s,!1):(s=Es(s,t.toJSON),Du(e,t.id,s))}function Un(e,t,s){t.status=4,s=Kn(e,s,t),Rr(e,t.id,s),e.abortableTasks.delete(t),Or(e)}var Lr={};function Bu(e,t){if(t.status===0){t.status=5;var s=is;try{ss=t.model;var i=qi(e,t,Lr,"",t.model);if(ss=i,t.keyPath=null,t.implicitSlot=!1,typeof i=="object"&&i!==null)e.writtenObjects.set(i,Ct(t.id)),Fu(e,t,i);else{var r=Es(i);Du(e,t.id,r)}t.status=1,e.abortableTasks.delete(t),Or(e)}catch(y){if(e.status===12)if(e.abortableTasks.delete(t),t.status=0,e.type===21)ii(t),ri(t,e);else{var a=e.fatalError;ha(t),fa(t,e,a)}else{var u=y===pa?Au():y;if(typeof u=="object"&&u!==null&&typeof u.then=="function"){t.status=0,t.thenableState=Pu();var d=t.ping;u.then(d,d)}else Un(e,t,u)}}finally{is=s}}}function Vu(e,t){var s=is;try{Fu(e,t,t.model)}finally{is=s}}function ra(e){var t=Is.H;Is.H=Nu;var s=rt;Mi=rt=e;try{var i=e.pingedTasks;e.pingedTasks=[];for(var r=0;r<i.length;r++)Bu(e,i[r]);oi(e)}catch(a){Kn(e,a,null),Ki(e,a)}finally{Is.H=t,Mi=null,rt=s}}function ha(e){e.status===0&&(e.status=3)}function fa(e,t,s){e.status===3&&(s=Ct(s),e=Ou(t,e.id,s),t.completedErrorChunks.push(e))}function ii(e){e.status===0&&(e.status=3)}function ri(e,t){e.status===3&&t.pendingChunks--}function oi(e){var t=e.destination;if(t!==null){on=new Uint8Array(2048),an=0;try{for(var s=e.completedImportChunks,i=0;i<s.length;i++)e.pendingChunks--,Cr(t,s[i]);s.splice(0,i);var r=e.completedHintChunks;for(i=0;i<r.length;i++)Cr(t,r[i]);r.splice(0,i);var a=e.completedRegularChunks;for(i=0;i<a.length;i++)e.pendingChunks--,Cr(t,a[i]);a.splice(0,i);var u=e.completedErrorChunks;for(i=0;i<u.length;i++)e.pendingChunks--,Cr(t,u[i]);u.splice(0,i)}finally{e.flushScheduled=!1,on&&0<an&&(t.enqueue(new Uint8Array(on.buffer,0,an)),on=null,an=0)}}e.pendingChunks===0&&(12>e.status&&e.cacheController.abort(Error("This render completed successfully. All cacheSignals are now aborted to allow clean up of any unused resources.")),e.destination!==null&&(e.status=14,e.destination.close(),e.destination=null))}function ju(e){e.flushScheduled=e.destination!==null,xu(function(){return ra(e)}),Bi(function(){e.status===10&&(e.status=11)})}function ln(e){e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,Bi(function(){e.flushScheduled=!1,oi(e)}))}function Or(e){e.abortableTasks.size===0&&(e=e.onAllReady,e())}function $u(e,t){if(e.status===13)e.status=14,gu(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{oi(e)}catch(s){Kn(e,s,null),Ki(e,s)}}}function Ed(e,t){try{t.forEach(function(i){return ri(i,e)});var s=e.onAllReady;s(),oi(e)}catch(i){Kn(e,i,null),Ki(e,i)}}function Ad(e,t,s){try{t.forEach(function(r){return fa(r,e,s)});var i=e.onAllReady;i(),oi(e)}catch(r){Kn(e,r,null),Ki(e,r)}}function ni(e,t){if(!(11<e.status))try{e.status=12,e.cacheController.abort(t);var s=e.abortableTasks;if(0<s.size)if(e.type===21)s.forEach(function(d){return ii(d,e)}),Bi(function(){return Ed(e,s)});else{var i=t===void 0?Error("The render was aborted by the server without a reason."):typeof t=="object"&&t!==null&&typeof t.then=="function"?Error("The render was aborted by the server with a promise."):t,r=Kn(e,i,null),a=e.nextChunkId++;e.fatalError=a,e.pendingChunks++,Rr(e,a,r,i,!1,null),s.forEach(function(d){return ha(d,e,a)}),Bi(function(){return Ad(e,s,a)})}else{var u=e.onAllReady;u(),oi(e)}}catch(d){Kn(e,d,null),Ki(e,d)}}function qu(e,t){var s="",i=e[t];if(i)s=i.name;else{var r=t.lastIndexOf("#");if(r!==-1&&(s=t.slice(r+1),i=e[t.slice(0,r)]),!i)throw Error('Could not find the module "'+t+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return i.async?[i.id,i.chunks,s,1]:[i.id,i.chunks,s]}var wr=new Map;function fu(e){var t=__webpack_require__(e);return typeof t.then!="function"||t.status==="fulfilled"?null:(t.then(function(s){t.status="fulfilled",t.value=s},function(s){t.status="rejected",t.reason=s}),t)}function Pd(){}function Ku(e){for(var t=e[1],s=[],i=0;i<t.length;){var r=t[i++],a=t[i++],u=wr.get(r);u===void 0?(Uu.set(r,a),a=__webpack_chunk_load__(r),s.push(a),u=wr.set.bind(wr,r,null),a.then(u,Pd),wr.set(r,a)):u!==null&&s.push(u)}return e.length===4?s.length===0?fu(e[0]):Promise.all(s).then(function(){return fu(e[0])}):0<s.length?Promise.all(s):null}function Fi(e){var t=__webpack_require__(e[0]);if(e.length===4&&typeof t.then=="function")if(t.status==="fulfilled")t=t.value;else throw t.reason;if(e[2]==="*")return t;if(e[2]==="")return t.__esModule?t.default:t;if(Nr.call(t,e[2]))return t[e[2]]}var Uu=new Map,Nd=__webpack_require__.u;__webpack_require__.u=function(e){var t=Uu.get(e);return t!==void 0?t:Nd(e)};var Dr=Symbol();function Lt(e,t,s){this.status=e,this.value=t,this.reason=s}Lt.prototype=Object.create(Promise.prototype);Lt.prototype.then=function(e,t){switch(this.status){case"resolved_model":Br(this)}switch(this.status){case"fulfilled":if(typeof e=="function"){for(var s=this.value,i=0,r=new Set;s instanceof Lt;){if(i++,s===this||r.has(s)||1e3<i){typeof t=="function"&&t(Error("Cannot have cyclic thenables."));return}if(r.add(s),s.status==="fulfilled")s=s.value;else break}e(this.value)}break;case"pending":case"blocked":typeof e=="function"&&(this.value===null&&(this.value=[]),this.value.push(e)),typeof t=="function"&&(this.reason===null&&(this.reason=[]),this.reason.push(t));break;default:typeof t=="function"&&t(this.reason)}};var Hu=Object.prototype,Wu=Array.prototype;function Mr(e,t,s,i){for(var r=0;r<t.length;r++){var a=t[r];typeof a=="function"?a(s):Xu(e,a,s,i.reason)}}function da(e,t,s){for(var i=0;i<t.length;i++){var r=t[i];typeof r=="function"?r(s):Pr(e,r.handler,s)}}function Fr(e,t,s){if(t.status!=="pending"&&t.status!=="blocked")t.reason.error(s);else{var i=t.reason;t.status="rejected",t.reason=s,i!==null&&da(e,i,s)}}function Gu(e,t,s){var i={};return new Lt("resolved_model",t,(i.id=s,i[Dr]=e,i))}function zu(e,t,s,i){if(t.status!=="pending")t=t.reason,s[0]==="C"?t.close(s==="C"?'"$undefined"':s.slice(1)):t.enqueueModel(s);else{var r=t.value,a=t.reason;if(t.status="resolved_model",t.value=s,s={},t.reason=(s.id=i,s[Dr]=e,s),r!==null)switch(Br(t),t.status){case"fulfilled":Mr(e,r,t.value,t);break;case"blocked":case"pending":if(t.value)for(e=0;e<r.length;e++)t.value.push(r[e]);else t.value=r;if(t.reason){if(a)for(r=0;r<a.length;r++)t.reason.push(a[r])}else t.reason=a;break;case"rejected":a&&da(e,a,t.reason)}}}function du(e,t,s){var i={};return new Lt("resolved_model",(s?'{"done":true,"value":':'{"done":false,"value":')+t+"}",(i.id=-1,i[Dr]=e,i))}function ea(e,t,s,i){zu(e,t,(i?'{"done":true,"value":':'{"done":false,"value":')+s+"}",-1)}function Rd(e,t,s,i){function r(L){var p=d.reason,h=d;h.status="rejected",h.value=null,h.reason=L,p!==null&&da(e,p,L),Pr(e,g,L)}var a=t.id;if(typeof a!="string"||i==="then")return null;var u=t.$$promise;if(u!==void 0)return u.status==="fulfilled"?(u=u.value,i==="__proto__"?null:s[i]=u):(Je?(a=Je,a.deps++):a=Je={chunk:null,value:null,reason:null,deps:1,errored:!1},u.then(aa.bind(null,e,a,s,i),Pr.bind(null,e,a)),null);var d=new Lt("blocked",null,null);t.$$promise=d;var y=qu(e._bundlerConfig,a);if(u=t.bound,a=Ku(y))u instanceof Lt&&(a=Promise.all([a,u]));else if(u instanceof Lt)a=Promise.resolve(u);else return u=Fi(y),a=d,a.status="fulfilled",a.value=u;if(Je){var g=Je;g.deps++}else g=Je={chunk:null,value:null,reason:null,deps:1,errored:!1};return a.then(function(){var L=Fi(y);if(t.bound){var p=t.bound.value;if(p=Tn(p)?p.slice(0):[],1e3<p.length){r(Error("Server Function has too many bound arguments. Received "+p.length+" but the limit is 1000."));return}p.unshift(null),L=L.bind.apply(L,p)}p=d.value;var h=d;h.status="fulfilled",h.value=L,h.reason=null,p!==null&&Mr(e,p,L,h),aa(e,g,s,i,L)},r),null}function oa(e,t,s,i,r,a){if(typeof i=="string")return Bd(e,t,s,i,r,a);if(typeof i=="object"&&i!==null)if(r!==void 0&&e._temporaryReferences!==void 0&&e._temporaryReferences.set(i,r),Tn(i)){if(a===null){var u={count:0,fork:!1};e._rootArrayContexts.set(i,u)}else u=a;for(1<i.length&&(u.fork=!0),$n(u,i.length+1,e),t=0;t<i.length;t++)i[t]=oa(e,i,""+t,i[t],r!==void 0?r+":"+t:void 0,u)}else for(u in i)Nr.call(i,u)&&(u==="__proto__"?delete i[u]:(t=r!==void 0&&u.indexOf(":")===-1?r+":"+u:void 0,t=oa(e,i,u,i[u],t,null),t!==void 0?i[u]=t:delete i[u]));return i}function $n(e,t,s){if((e.count+=t)>s._arraySizeLimit&&e.fork)throw Error("Maximum array nesting exceeded. Large nested arrays can be dangerous. Try adding intermediate objects.")}var Je=null;function Br(e){var t=Je;Je=null;var s=e.reason,i=s[Dr];s=s.id,s=s===-1?void 0:s.toString(16);var r=e.value;e.status="blocked",e.value=null,e.reason=null;try{var a=JSON.parse(r);r={count:0,fork:!1};var u=oa(i,{"":a},"",a,s,r),d=e.value;if(d!==null)for(e.value=null,e.reason=null,a=0;a<d.length;a++){var y=d[a];typeof y=="function"?y(u):Xu(i,y,u,r)}if(Je!==null){if(Je.errored)throw Je.reason;if(0<Je.deps){Je.value=u,Je.reason=r,Je.chunk=e;return}}e.status="fulfilled",e.value=u,e.reason=r}catch(g){e.status="rejected",e.reason=g}finally{Je=t}}function Ld(e,t){e._closed=!0,e._closedReason=t,e._chunks.forEach(function(s){s.status==="pending"?Fr(e,s,t):s.status==="fulfilled"&&s.reason!==null&&(s=s.reason,typeof s.error=="function"&&s.error(t))})}function Vr(e,t){var s=e._chunks,i=s.get(t);return i||(i=e._formData.get(e._prefix+t),i=typeof i=="string"?Gu(e,i,t):e._closed?new Lt("rejected",null,e._closedReason):new Lt("pending",null,null),s.set(t,i)),i}function Xu(e,t,s,i){var r=t.handler,a=t.parentObject,u=t.key,d=t.map,y=t.path;try{for(var g=0,L=e._rootArrayContexts,p=1;p<y.length;p++){var h=y[p];if(typeof s!="object"||s===null||si(s)!==Hu&&si(s)!==Wu||!Nr.call(s,h))throw Error("Invalid reference.");if(s=s[h],Tn(s))g=0,i=L.get(s)||i;else if(i=null,typeof s=="string")g=s.length;else if(typeof s=="bigint"){var T=Math.abs(Number(s));g=T===0?1:Math.floor(Math.log10(T))+1}else g=ArrayBuffer.isView(s)?s.byteLength:0}var x=d(e,s,a,u),w=t.arrayRoot;w!==null&&(i!==null?(i.fork&&(w.fork=!0),$n(w,i.count,e)):0<g&&$n(w,g,e))}catch(S){Pr(e,r,S);return}aa(e,r,a,u,x)}function aa(e,t,s,i,r){i!=="__proto__"&&(s[i]=r),i===""&&t.value===null&&(t.value=r),t.deps--,t.deps===0&&(s=t.chunk,s!==null&&s.status==="blocked"&&(i=s.value,s.status="fulfilled",s.value=t.value,s.reason=t.reason,i!==null&&Mr(e,i,t.value,s)))}function Pr(e,t,s){t.errored||(t.errored=!0,t.value=null,t.reason=s,t=t.chunk,t!==null&&t.status==="blocked"&&Fr(e,t,s))}function Di(e,t,s,i,r,a){t=t.split(":");var u=parseInt(t[0],16),d=Vr(e,u);switch(d.status){case"resolved_model":Br(d)}switch(d.status){case"fulfilled":u=d.value,d=d.reason;for(var y=0,g=e._rootArrayContexts,L=1;L<t.length;L++){if(y=t[L],typeof u!="object"||u===null||si(u)!==Hu&&si(u)!==Wu||!Nr.call(u,y))throw Error("Invalid reference.");u=u[y],Tn(u)?(y=0,d=g.get(u)||d):(d=null,typeof u=="string"?y=u.length:typeof u=="bigint"?(y=Math.abs(Number(u)),y=y===0?1:Math.floor(Math.log10(y))+1):y=ArrayBuffer.isView(u)?u.byteLength:0)}return s=a(e,u,s,i),r!==null&&(d!==null?(d.fork&&(r.fork=!0),$n(r,d.count,e)):0<y&&$n(r,y,e)),s;case"blocked":return Je?(e=Je,e.deps++):e=Je={chunk:null,value:null,reason:null,deps:1,errored:!1},r={handler:e,parentObject:s,key:i,map:a,path:t,arrayRoot:r},d.value===null?d.value=[r]:d.value.push(r),d.reason===null?d.reason=[r]:d.reason.push(r),null;case"pending":throw Error("Invalid forward reference.");default:return Je?(Je.errored=!0,Je.value=null,Je.reason=d.reason):Je={chunk:null,value:null,reason:d.reason,deps:0,errored:!0},null}}function Od(e,t){if(!Tn(t))throw Error("Invalid Map initializer.");if(t.$$consumed===!0)throw Error("Already initialized Map.");return e=new Map(t),t.$$consumed=!0,e}function Dd(e,t){if(!Tn(t))throw Error("Invalid Set initializer.");if(t.$$consumed===!0)throw Error("Already initialized Set.");return e=new Set(t),t.$$consumed=!0,e}function Md(e,t){if(!Tn(t))throw Error("Invalid Iterator initializer.");if(t.$$consumed===!0)throw Error("Already initialized Iterator.");return e=t[Symbol.iterator](),t.$$consumed=!0,e}function Fd(e,t,s,i){return i==="then"&&typeof t=="function"?null:t}function Xt(e,t,s,i,r,a,u){function d(L){if(!g.errored){g.errored=!0,g.value=null,g.reason=L;var p=g.chunk;p!==null&&p.status==="blocked"&&Fr(e,p,L)}}t=parseInt(t.slice(2),16);var y=e._prefix+t;if(i=e._chunks,i.has(t))throw Error("Already initialized typed array.");if(i.set(t,new Lt("rejected",null,Error("Already initialized typed array."))),t=e._formData.get(y).arrayBuffer(),Je){var g=Je;g.deps++}else g=Je={chunk:null,value:null,reason:null,deps:1,errored:!1};return t.then(function(L){try{u!==null&&$n(u,L.byteLength,e);var p=s===ArrayBuffer?L:new s(L);y!=="__proto__"&&(r[a]=p),a===""&&g.value===null&&(g.value=p)}catch(h){d(h);return}g.deps--,g.deps===0&&(L=g.chunk,L!==null&&L.status==="blocked"&&(p=L.value,L.status="fulfilled",L.value=g.value,L.reason=null,p!==null&&Mr(e,p,g.value,L)))},d),null}function Yu(e,t,s,i){var r=e._chunks;for(s=new Lt("fulfilled",s,i),r.set(t,s),e=e._formData.getAll(e._prefix+t),t=0;t<e.length;t++)r=e[t],typeof r=="string"&&(r[0]==="C"?i.close(r==="C"?'"$undefined"':r.slice(1)):i.enqueueModel(r))}function mu(e,t,s){function i(g){s!=="bytes"||ArrayBuffer.isView(g)?r.enqueue(g):y.error(Error("Invalid data for bytes stream."))}if(t=parseInt(t.slice(2),16),e._chunks.has(t))throw Error("Already initialized stream.");var r=null,a=!1,u=new ReadableStream({type:s,start:function(g){r=g}}),d=null,y={enqueueModel:function(g){if(d===null){var L=Gu(e,g,-1);Br(L),L.status==="fulfilled"?i(L.value):(L.then(i,y.error),d=L)}else{L=d;var p=new Lt("pending",null,null);p.then(i,y.error),d=p,L.then(function(){d===p&&(d=null),zu(e,p,g,-1)})}},close:function(){if(!a)if(a=!0,d===null)r.close();else{var g=d;d=null,g.then(function(){return r.close()})}},error:function(g){if(!a)if(a=!0,d===null)r.error(g);else{var L=d;d=null,L.then(function(){return r.error(g)})}}};return Yu(e,t,u,y),u}function ma(e){this.next=e}ma.prototype={};ma.prototype[Ss]=function(){return this};function yu(e,t,s){if(t=parseInt(t.slice(2),16),e._chunks.has(t))throw Error("Already initialized stream.");var i=[],r=!1,a=0,u={};return u=(u[Ss]=function(){var d=0;return new ma(function(y){if(y!==void 0)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(d===i.length){if(r)return new Lt("fulfilled",{done:!0,value:void 0},null);i[d]=new Lt("pending",null,null)}return i[d++]})},u),s=s?u[Ss]():u,Yu(e,t,s,{enqueueModel:function(d){a===i.length?i[a]=du(e,d,!1):ea(e,i[a],d,!1),a++},close:function(d){if(!r)for(r=!0,a===i.length?i[a]=du(e,d,!0):ea(e,i[a],d,!0),a++;a<i.length;)ea(e,i[a++],'"$undefined"',!0)},error:function(d){if(!r)for(r=!0,a===i.length&&(i[a]=new Lt("pending",null,null));a<i.length;)Fr(e,i[a++],d)}}),s}function Bd(e,t,s,i,r,a){if(i[0]==="$"){switch(i[1]){case"$":return a!==null&&$n(a,i.length-1,e),i.slice(1);case"@":return t=parseInt(i.slice(2),16),Vr(e,t);case"h":return a=i.slice(2),Di(e,a,t,s,null,Rd);case"T":if(r===void 0||e._temporaryReferences===void 0)throw Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server.");return pd(e._temporaryReferences,r);case"Q":return a=i.slice(2),Di(e,a,t,s,null,Od);case"W":return a=i.slice(2),Di(e,a,t,s,null,Dd);case"K":for(t=i.slice(2),t=e._prefix+t+"_",s=new FormData,e=e._formData,a=Array.from(e.keys()),i=0;i<a.length;i++)if(r=a[i],r.startsWith(t)){for(var u=e.getAll(r),d=r.slice(t.length),y=0;y<u.length;y++)s.append(d,u[y]);e.delete(r)}return s;case"i":return a=i.slice(2),Di(e,a,t,s,null,Md);case"I":return 1/0;case"-":return i==="$-0"?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(i.slice(2)));case"n":if(t=i.slice(2),300<t.length)throw Error("BigInt is too large. Received "+t.length+" digits but the limit is 300.");return a!==null&&$n(a,t.length,e),BigInt(t);case"A":return Xt(e,i,ArrayBuffer,1,t,s,a);case"O":return Xt(e,i,Int8Array,1,t,s,a);case"o":return Xt(e,i,Uint8Array,1,t,s,a);case"U":return Xt(e,i,Uint8ClampedArray,1,t,s,a);case"S":return Xt(e,i,Int16Array,2,t,s,a);case"s":return Xt(e,i,Uint16Array,2,t,s,a);case"L":return Xt(e,i,Int32Array,4,t,s,a);case"l":return Xt(e,i,Uint32Array,4,t,s,a);case"G":return Xt(e,i,Float32Array,4,t,s,a);case"g":return Xt(e,i,Float64Array,8,t,s,a);case"M":return Xt(e,i,BigInt64Array,8,t,s,a);case"m":return Xt(e,i,BigUint64Array,8,t,s,a);case"V":return Xt(e,i,DataView,1,t,s,a);case"B":return t=parseInt(i.slice(2),16),e._formData.get(e._prefix+t);case"R":return mu(e,i,void 0);case"r":return mu(e,i,"bytes");case"X":return yu(e,i,!1);case"x":return yu(e,i,!0)}return i=i.slice(1),Di(e,i,t,s,a,Fd)}return a!==null&&$n(a,i.length,e),i}function Ju(e,t,s){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:new FormData,r=4<arguments.length&&arguments[4]!==void 0?arguments[4]:1e6,a=new Map;return{_bundlerConfig:e,_prefix:t,_formData:i,_chunks:a,_closed:!1,_closedReason:null,_temporaryReferences:s,_rootArrayContexts:new WeakMap,_arraySizeLimit:r}}function Qu(e){Ld(e,Error("Connection closed."))}function Tu(e,t){var s=t.id;if(typeof s!="string")return null;var i=qu(e,s);return e=Ku(i),t=t.bound,t instanceof Promise?Promise.all([t,e]).then(function(r){r=r[0];var a=Fi(i);if(1e3<r.length)throw Error("Server Function has too many bound arguments. Received "+r.length+" but the limit is 1000.");return a.bind.apply(a,[null].concat(r))}):e?Promise.resolve(e).then(function(){return Fi(i)}):Promise.resolve(Fi(i))}function Zu(e,t,s,i){if(e=Ju(t,s,void 0,e,i),Qu(e),e=Vr(e,0),e.then(function(){}),e.status!=="fulfilled")throw e.reason;return e.value}En.createClientModuleProxy=function(e){return e=ei({},e,!1),new Proxy(e,bu)};En.createTemporaryReferenceSet=function(){return new WeakMap};En.decodeAction=function(e,t){var s=new FormData,i=null,r=new Set;return e.forEach(function(a,u){u.startsWith("$ACTION_")?u.startsWith("$ACTION_REF_")?r.has(u)||(r.add(u),a="$ACTION_"+u.slice(12)+":",a=Zu(e,t,a),i=Tu(t,a)):u.startsWith("$ACTION_ID_")&&!r.has(u)&&(r.add(u),a=u.slice(11),i=Tu(t,{id:a,bound:null})):s.append(u,a)}),i===null?null:i.then(function(a){return a.bind(null,s)})};En.decodeFormState=function(e,t,s){var i=t.get("$ACTION_KEY");if(typeof i!="string")return Promise.resolve(null);var r=null;if(t.forEach(function(u,d){d.startsWith("$ACTION_REF_")&&(u="$ACTION_"+d.slice(12)+":",r=Zu(t,s,u))}),r===null)return Promise.resolve(null);var a=r.id;return Promise.resolve(r.bound).then(function(u){return u===null?null:[e,i,a,u.length-1]})};En.decodeReply=function(e,t,s){if(typeof e=="string"){var i=new FormData;i.append("0",e),e=i}return e=Ju(t,"",s?s.temporaryReferences:void 0,e,s?s.arraySizeLimit:void 0),t=Vr(e,0),Qu(e),t};En.prerender=function(e,t,s){return new Promise(function(i,r){var a=new Lu(21,e,t,s?s.onError:void 0,s?s.onPostpone:void 0,function(){var y=new ReadableStream({type:"bytes",pull:function(g){$u(a,g)},cancel:function(g){a.destination=null,ni(a,g)}},{highWaterMark:0});i({prelude:y})},r,s?s.identifierPrefix:void 0,s?s.temporaryReferences:void 0);if(s&&s.signal){var u=s.signal;if(u.aborted)ni(a,u.reason);else{var d=function(){ni(a,u.reason),u.removeEventListener("abort",d)};u.addEventListener("abort",d)}}ju(a)})};En.registerClientReference=function(e,t,s){return ei(e,t+"#"+s,!1)};En.registerServerReference=function(e,t,s){return Object.defineProperties(e,{$$typeof:{value:Ar},$$id:{value:s===null?t:t+"#"+s,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:_u,configurable:!0},toString:td})};En.renderToReadableStream=function(e,t,s){var i=new Lu(20,e,t,s?s.onError:void 0,s?s.onPostpone:void 0,Cs,Cs,s?s.identifierPrefix:void 0,s?s.temporaryReferences:void 0);if(s&&s.signal){var r=s.signal;if(r.aborted)ni(i,r.reason);else{var a=function(){ni(i,r.reason),r.removeEventListener("abort",a)};r.addEventListener("abort",a)}}return new ReadableStream({type:"bytes",start:function(){ju(i)},pull:function(u){$u(i,u)},cancel:function(u){i.destination=null,ni(i,u)}},{highWaterMark:0})}});var t1=Z(Wn=>{"use strict";var Hn;Hn=e1();Wn.renderToReadableStream=Hn.renderToReadableStream;Wn.decodeReply=Hn.decodeReply;Wn.decodeAction=Hn.decodeAction;Wn.decodeFormState=Hn.decodeFormState;Wn.registerServerReference=Hn.registerServerReference;Wn.registerClientReference=Hn.registerClientReference;Wn.createClientModuleProxy=Hn.createClientModuleProxy;Wn.createTemporaryReferenceSet=Hn.createTemporaryReferenceSet});var St=Z(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});var n1;(function(e){e[e.NONE=0]="NONE";let s=1;e[e._abstract=s]="_abstract";let i=s+1;e[e._accessor=i]="_accessor";let r=i+1;e[e._as=r]="_as";let a=r+1;e[e._assert=a]="_assert";let u=a+1;e[e._asserts=u]="_asserts";let d=u+1;e[e._async=d]="_async";let y=d+1;e[e._await=y]="_await";let g=y+1;e[e._checks=g]="_checks";let L=g+1;e[e._constructor=L]="_constructor";let p=L+1;e[e._declare=p]="_declare";let h=p+1;e[e._enum=h]="_enum";let T=h+1;e[e._exports=T]="_exports";let x=T+1;e[e._from=x]="_from";let w=x+1;e[e._get=w]="_get";let S=w+1;e[e._global=S]="_global";let A=S+1;e[e._implements=A]="_implements";let U=A+1;e[e._infer=U]="_infer";let M=U+1;e[e._interface=M]="_interface";let c=M+1;e[e._is=c]="_is";let R=c+1;e[e._keyof=R]="_keyof";let W=R+1;e[e._mixins=W]="_mixins";let Y=W+1;e[e._module=Y]="_module";let ie=Y+1;e[e._namespace=ie]="_namespace";let pe=ie+1;e[e._of=pe]="_of";let ae=pe+1;e[e._opaque=ae]="_opaque";let He=ae+1;e[e._out=He]="_out";let qe=He+1;e[e._override=qe]="_override";let Ft=qe+1;e[e._private=Ft]="_private";let mt=Ft+1;e[e._protected=mt]="_protected";let vt=mt+1;e[e._proto=vt]="_proto";let Et=vt+1;e[e._public=Et]="_public";let st=Et+1;e[e._readonly=st]="_readonly";let it=st+1;e[e._require=it]="_require";let bt=it+1;e[e._satisfies=bt]="_satisfies";let pt=bt+1;e[e._set=pt]="_set";let wt=pt+1;e[e._static=wt]="_static";let jt=wt+1;e[e._symbol=jt]="_symbol";let At=jt+1;e[e._type=At]="_type";let $t=At+1;e[e._unique=$t]="_unique";let mn=$t+1;e[e._using=mn]="_using"})(n1||(ya.ContextualKeyword=n1={}))});var Ce=Z(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});var q;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let s=16;e[e.IS_KEYWORD=s]="IS_KEYWORD";let i=32;e[e.IS_ASSIGN=i]="IS_ASSIGN";let r=64;e[e.IS_RIGHT_ASSOCIATIVE=r]="IS_RIGHT_ASSOCIATIVE";let a=128;e[e.IS_PREFIX=a]="IS_PREFIX";let u=256;e[e.IS_POSTFIX=u]="IS_POSTFIX";let d=512;e[e.IS_EXPRESSION_START=d]="IS_EXPRESSION_START";let y=512;e[e.num=y]="num";let g=1536;e[e.bigint=g]="bigint";let L=2560;e[e.decimal=L]="decimal";let p=3584;e[e.regexp=p]="regexp";let h=4608;e[e.string=h]="string";let T=5632;e[e.name=T]="name";let x=6144;e[e.eof=x]="eof";let w=7680;e[e.bracketL=w]="bracketL";let S=8192;e[e.bracketR=S]="bracketR";let A=9728;e[e.braceL=A]="braceL";let U=10752;e[e.braceBarL=U]="braceBarL";let M=11264;e[e.braceR=M]="braceR";let c=12288;e[e.braceBarR=c]="braceBarR";let R=13824;e[e.parenL=R]="parenL";let W=14336;e[e.parenR=W]="parenR";let Y=15360;e[e.comma=Y]="comma";let ie=16384;e[e.semi=ie]="semi";let pe=17408;e[e.colon=pe]="colon";let ae=18432;e[e.doubleColon=ae]="doubleColon";let He=19456;e[e.dot=He]="dot";let qe=20480;e[e.question=qe]="question";let Ft=21504;e[e.questionDot=Ft]="questionDot";let mt=22528;e[e.arrow=mt]="arrow";let vt=23552;e[e.template=vt]="template";let Et=24576;e[e.ellipsis=Et]="ellipsis";let st=25600;e[e.backQuote=st]="backQuote";let it=27136;e[e.dollarBraceL=it]="dollarBraceL";let bt=27648;e[e.at=bt]="at";let pt=29184;e[e.hash=pt]="hash";let wt=29728;e[e.eq=wt]="eq";let jt=30752;e[e.assign=jt]="assign";let At=32640;e[e.preIncDec=At]="preIncDec";let $t=33664;e[e.postIncDec=$t]="postIncDec";let mn=34432;e[e.bang=mn]="bang";let V=35456;e[e.tilde=V]="tilde";let G=35841;e[e.pipeline=G]="pipeline";let J=36866;e[e.nullishCoalescing=J]="nullishCoalescing";let re=37890;e[e.logicalOR=re]="logicalOR";let ve=38915;e[e.logicalAND=ve]="logicalAND";let he=39940;e[e.bitwiseOR=he]="bitwiseOR";let Ee=40965;e[e.bitwiseXOR=Ee]="bitwiseXOR";let Ae=41990;e[e.bitwiseAND=Ae]="bitwiseAND";let Le=43015;e[e.equality=Le]="equality";let ze=44040;e[e.lessThan=ze]="lessThan";let We=45064;e[e.greaterThan=We]="greaterThan";let Xe=46088;e[e.relationalOrEqual=Xe]="relationalOrEqual";let lt=47113;e[e.bitShiftL=lt]="bitShiftL";let yt=48137;e[e.bitShiftR=yt]="bitShiftR";let xt=49802;e[e.plus=xt]="plus";let qt=50826;e[e.minus=qt]="minus";let Ze=51723;e[e.modulo=Ze]="modulo";let _n=52235;e[e.star=_n]="star";let Dn=53259;e[e.slash=Dn]="slash";let Zn=54348;e[e.exponent=Zn]="exponent";let Ke=55296;e[e.jsxName=Ke]="jsxName";let Tt=56320;e[e.jsxText=Tt]="jsxText";let Ye=57344;e[e.jsxEmptyText=Ye]="jsxEmptyText";let bn=58880;e[e.jsxTagStart=bn]="jsxTagStart";let yn=59392;e[e.jsxTagEnd=yn]="jsxTagEnd";let te=60928;e[e.typeParameterStart=te]="typeParameterStart";let Cn=61440;e[e.nonNullAssertion=Cn]="nonNullAssertion";let gi=62480;e[e._break=gi]="_break";let _i=63504;e[e._case=_i]="_case";let Mn=64528;e[e._catch=Mn]="_catch";let xs=65552;e[e._continue=xs]="_continue";let Ds=66576;e[e._debugger=Ds]="_debugger";let bi=67600;e[e._default=bi]="_default";let es=68624;e[e._do=es]="_do";let Pt=69648;e[e._else=Pt]="_else";let Nt=70672;e[e._finally=Nt]="_finally";let Ue=71696;e[e._for=Ue]="_for";let wn=73232;e[e._function=wn]="_function";let de=73744;e[e._if=de]="_if";let Ms=74768;e[e._return=Ms]="_return";let gs=75792;e[e._switch=gs]="_switch";let Ci=77456;e[e._throw=Ci]="_throw";let ts=77840;e[e._try=ts]="_try";let nn=78864;e[e._var=nn]="_var";let wi=79888;e[e._let=wi]="_let";let Fn=80912;e[e._const=Fn]="_const";let Bn=81936;e[e._while=Bn]="_while";let Fs=82960;e[e._with=Fs]="_with";let Si=84496;e[e._new=Si]="_new";let Bs=85520;e[e._this=Bs]="_this";let Vs=86544;e[e._super=Vs]="_super";let js=87568;e[e._class=js]="_class";let $s=88080;e[e._extends=$s]="_extends";let qs=89104;e[e._export=qs]="_export";let Ii=90640;e[e._import=Ii]="_import";let Ei=91664;e[e._yield=Ei]="_yield";let Ai=92688;e[e._null=Ai]="_null";let Pi=93712;e[e._true=Pi]="_true";let Ks=94736;e[e._false=Ks]="_false";let Us=95256;e[e._in=Us]="_in";let Hs=96280;e[e._instanceof=Hs]="_instanceof";let Ws=97936;e[e._typeof=Ws]="_typeof";let Gs=98960;e[e._void=Gs]="_void";let mr=99984;e[e._delete=mr]="_delete";let jo=100880;e[e._async=jo]="_async";let $o=101904;e[e._get=$o]="_get";let yr=102928;e[e._set=yr]="_set";let qo=103952;e[e._declare=qo]="_declare";let Ni=104976;e[e._readonly=Ni]="_readonly";let Tr=106e3;e[e._abstract=Tr]="_abstract";let Ko=107024;e[e._static=Ko]="_static";let le=107536;e[e._public=le]="_public";let zs=108560;e[e._private=zs]="_private";let sn=109584;e[e._protected=sn]="_protected";let Uo=110608;e[e._override=Uo]="_override";let Ho=112144;e[e._as=Ho]="_as";let kr=113168;e[e._enum=kr]="_enum";let Wo=114192;e[e._type=Wo]="_type";let Go=115216;e[e._implements=Go]="_implements"})(q||(jr.TokenType=q={}));function Vd(e){switch(e){case q.num:return"num";case q.bigint:return"bigint";case q.decimal:return"decimal";case q.regexp:return"regexp";case q.string:return"string";case q.name:return"name";case q.eof:return"eof";case q.bracketL:return"[";case q.bracketR:return"]";case q.braceL:return"{";case q.braceBarL:return"{|";case q.braceR:return"}";case q.braceBarR:return"|}";case q.parenL:return"(";case q.parenR:return")";case q.comma:return",";case q.semi:return";";case q.colon:return":";case q.doubleColon:return"::";case q.dot:return".";case q.question:return"?";case q.questionDot:return"?.";case q.arrow:return"=>";case q.template:return"template";case q.ellipsis:return"...";case q.backQuote:return"`";case q.dollarBraceL:return"${";case q.at:return"@";case q.hash:return"#";case q.eq:return"=";case q.assign:return"_=";case q.preIncDec:return"++/--";case q.postIncDec:return"++/--";case q.bang:return"!";case q.tilde:return"~";case q.pipeline:return"|>";case q.nullishCoalescing:return"??";case q.logicalOR:return"||";case q.logicalAND:return"&&";case q.bitwiseOR:return"|";case q.bitwiseXOR:return"^";case q.bitwiseAND:return"&";case q.equality:return"==/!=";case q.lessThan:return"<";case q.greaterThan:return">";case q.relationalOrEqual:return"<=/>=";case q.bitShiftL:return"<<";case q.bitShiftR:return">>/>>>";case q.plus:return"+";case q.minus:return"-";case q.modulo:return"%";case q.star:return"*";case q.slash:return"/";case q.exponent:return"**";case q.jsxName:return"jsxName";case q.jsxText:return"jsxText";case q.jsxEmptyText:return"jsxEmptyText";case q.jsxTagStart:return"jsxTagStart";case q.jsxTagEnd:return"jsxTagEnd";case q.typeParameterStart:return"typeParameterStart";case q.nonNullAssertion:return"nonNullAssertion";case q._break:return"break";case q._case:return"case";case q._catch:return"catch";case q._continue:return"continue";case q._debugger:return"debugger";case q._default:return"default";case q._do:return"do";case q._else:return"else";case q._finally:return"finally";case q._for:return"for";case q._function:return"function";case q._if:return"if";case q._return:return"return";case q._switch:return"switch";case q._throw:return"throw";case q._try:return"try";case q._var:return"var";case q._let:return"let";case q._const:return"const";case q._while:return"while";case q._with:return"with";case q._new:return"new";case q._this:return"this";case q._super:return"super";case q._class:return"class";case q._extends:return"extends";case q._export:return"export";case q._import:return"import";case q._yield:return"yield";case q._null:return"null";case q._true:return"true";case q._false:return"false";case q._in:return"in";case q._instanceof:return"instanceof";case q._typeof:return"typeof";case q._void:return"void";case q._delete:return"delete";case q._async:return"async";case q._get:return"get";case q._set:return"set";case q._declare:return"declare";case q._readonly:return"readonly";case q._abstract:return"abstract";case q._static:return"static";case q._public:return"public";case q._private:return"private";case q._protected:return"protected";case q._override:return"override";case q._as:return"as";case q._enum:return"enum";case q._type:return"type";case q._implements:return"implements";default:return""}}jr.formatTokenType=Vd});var qr=Z(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});var jd=St(),$d=Ce(),Ta=class{constructor(t,s,i){this.startTokenIndex=t,this.endTokenIndex=s,this.isFunctionScope=i}};Ui.Scope=Ta;var $r=class{constructor(t,s,i,r,a,u,d,y,g,L,p,h,T){this.potentialArrowAt=t,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=i,this.tokensLength=r,this.scopesLength=a,this.pos=u,this.type=d,this.contextualKeyword=y,this.start=g,this.end=L,this.isType=p,this.scopeDepth=h,this.error=T}};Ui.StateSnapshot=$r;var ka=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=$d.TokenType.eof}__init8(){this.contextualKeyword=jd.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new $r(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};Ui.default=ka});var Yt=Z(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});var as;(function(e){e[e.backSpace=8]="backSpace";let s=10;e[e.lineFeed=s]="lineFeed";let i=9;e[e.tab=i]="tab";let r=13;e[e.carriageReturn=r]="carriageReturn";let a=14;e[e.shiftOut=a]="shiftOut";let u=32;e[e.space=u]="space";let d=33;e[e.exclamationMark=d]="exclamationMark";let y=34;e[e.quotationMark=y]="quotationMark";let g=35;e[e.numberSign=g]="numberSign";let L=36;e[e.dollarSign=L]="dollarSign";let p=37;e[e.percentSign=p]="percentSign";let h=38;e[e.ampersand=h]="ampersand";let T=39;e[e.apostrophe=T]="apostrophe";let x=40;e[e.leftParenthesis=x]="leftParenthesis";let w=41;e[e.rightParenthesis=w]="rightParenthesis";let S=42;e[e.asterisk=S]="asterisk";let A=43;e[e.plusSign=A]="plusSign";let U=44;e[e.comma=U]="comma";let M=45;e[e.dash=M]="dash";let c=46;e[e.dot=c]="dot";let R=47;e[e.slash=R]="slash";let W=48;e[e.digit0=W]="digit0";let Y=49;e[e.digit1=Y]="digit1";let ie=50;e[e.digit2=ie]="digit2";let pe=51;e[e.digit3=pe]="digit3";let ae=52;e[e.digit4=ae]="digit4";let He=53;e[e.digit5=He]="digit5";let qe=54;e[e.digit6=qe]="digit6";let Ft=55;e[e.digit7=Ft]="digit7";let mt=56;e[e.digit8=mt]="digit8";let vt=57;e[e.digit9=vt]="digit9";let Et=58;e[e.colon=Et]="colon";let st=59;e[e.semicolon=st]="semicolon";let it=60;e[e.lessThan=it]="lessThan";let bt=61;e[e.equalsTo=bt]="equalsTo";let pt=62;e[e.greaterThan=pt]="greaterThan";let wt=63;e[e.questionMark=wt]="questionMark";let jt=64;e[e.atSign=jt]="atSign";let At=65;e[e.uppercaseA=At]="uppercaseA";let $t=66;e[e.uppercaseB=$t]="uppercaseB";let mn=67;e[e.uppercaseC=mn]="uppercaseC";let V=68;e[e.uppercaseD=V]="uppercaseD";let G=69;e[e.uppercaseE=G]="uppercaseE";let J=70;e[e.uppercaseF=J]="uppercaseF";let re=71;e[e.uppercaseG=re]="uppercaseG";let ve=72;e[e.uppercaseH=ve]="uppercaseH";let he=73;e[e.uppercaseI=he]="uppercaseI";let Ee=74;e[e.uppercaseJ=Ee]="uppercaseJ";let Ae=75;e[e.uppercaseK=Ae]="uppercaseK";let Le=76;e[e.uppercaseL=Le]="uppercaseL";let ze=77;e[e.uppercaseM=ze]="uppercaseM";let We=78;e[e.uppercaseN=We]="uppercaseN";let Xe=79;e[e.uppercaseO=Xe]="uppercaseO";let lt=80;e[e.uppercaseP=lt]="uppercaseP";let yt=81;e[e.uppercaseQ=yt]="uppercaseQ";let xt=82;e[e.uppercaseR=xt]="uppercaseR";let qt=83;e[e.uppercaseS=qt]="uppercaseS";let Ze=84;e[e.uppercaseT=Ze]="uppercaseT";let _n=85;e[e.uppercaseU=_n]="uppercaseU";let Dn=86;e[e.uppercaseV=Dn]="uppercaseV";let Zn=87;e[e.uppercaseW=Zn]="uppercaseW";let Ke=88;e[e.uppercaseX=Ke]="uppercaseX";let Tt=89;e[e.uppercaseY=Tt]="uppercaseY";let Ye=90;e[e.uppercaseZ=Ye]="uppercaseZ";let bn=91;e[e.leftSquareBracket=bn]="leftSquareBracket";let yn=92;e[e.backslash=yn]="backslash";let te=93;e[e.rightSquareBracket=te]="rightSquareBracket";let Cn=94;e[e.caret=Cn]="caret";let gi=95;e[e.underscore=gi]="underscore";let _i=96;e[e.graveAccent=_i]="graveAccent";let Mn=97;e[e.lowercaseA=Mn]="lowercaseA";let xs=98;e[e.lowercaseB=xs]="lowercaseB";let Ds=99;e[e.lowercaseC=Ds]="lowercaseC";let bi=100;e[e.lowercaseD=bi]="lowercaseD";let es=101;e[e.lowercaseE=es]="lowercaseE";let Pt=102;e[e.lowercaseF=Pt]="lowercaseF";let Nt=103;e[e.lowercaseG=Nt]="lowercaseG";let Ue=104;e[e.lowercaseH=Ue]="lowercaseH";let wn=105;e[e.lowercaseI=wn]="lowercaseI";let de=106;e[e.lowercaseJ=de]="lowercaseJ";let Ms=107;e[e.lowercaseK=Ms]="lowercaseK";let gs=108;e[e.lowercaseL=gs]="lowercaseL";let Ci=109;e[e.lowercaseM=Ci]="lowercaseM";let ts=110;e[e.lowercaseN=ts]="lowercaseN";let nn=111;e[e.lowercaseO=nn]="lowercaseO";let wi=112;e[e.lowercaseP=wi]="lowercaseP";let Fn=113;e[e.lowercaseQ=Fn]="lowercaseQ";let Bn=114;e[e.lowercaseR=Bn]="lowercaseR";let Fs=115;e[e.lowercaseS=Fs]="lowercaseS";let Si=116;e[e.lowercaseT=Si]="lowercaseT";let Bs=117;e[e.lowercaseU=Bs]="lowercaseU";let Vs=118;e[e.lowercaseV=Vs]="lowercaseV";let js=119;e[e.lowercaseW=js]="lowercaseW";let $s=120;e[e.lowercaseX=$s]="lowercaseX";let qs=121;e[e.lowercaseY=qs]="lowercaseY";let Ii=122;e[e.lowercaseZ=Ii]="lowercaseZ";let Ei=123;e[e.leftCurlyBrace=Ei]="leftCurlyBrace";let Ai=124;e[e.verticalBar=Ai]="verticalBar";let Pi=125;e[e.rightCurlyBrace=Pi]="rightCurlyBrace";let Ks=126;e[e.tilde=Ks]="tilde";let Us=160;e[e.nonBreakingSpace=Us]="nonBreakingSpace";let Hs=5760;e[e.oghamSpaceMark=Hs]="oghamSpaceMark";let Ws=8232;e[e.lineSeparator=Ws]="lineSeparator";let Gs=8233;e[e.paragraphSeparator=Gs]="paragraphSeparator"})(as||(Kr.charCodes=as={}));function qd(e){return e>=as.digit0&&e<=as.digit9||e>=as.lowercaseA&&e<=as.lowercaseF||e>=as.uppercaseA&&e<=as.uppercaseF}Kr.isDigit=qd});var Jt=Z(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});function Kd(e){return e&&e.__esModule?e:{default:e}}var Ud=qr(),Hd=Kd(Ud),Wd=Yt();ft.isJSXEnabled;ft.isTypeScriptEnabled;ft.isFlowEnabled;ft.state;ft.input;ft.nextContextId;function Gd(){return ft.nextContextId++}ft.getNextContextId=Gd;function zd(e){if("pos"in e){let t=s1(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}ft.augmentError=zd;var Ur=class{constructor(t,s){this.line=t,this.column=s}};ft.Loc=Ur;function s1(e){let t=1,s=1;for(let i=0;i<e;i++)ft.input.charCodeAt(i)===Wd.charCodes.lineFeed?(t++,s=1):s++;return new Ur(t,s)}ft.locationForIndex=s1;function Xd(e,t,s,i){ft.input=e,ft.state=new Hd.default,ft.nextContextId=1,ft.isJSXEnabled=t,ft.isTypeScriptEnabled=s,ft.isFlowEnabled=i}ft.initParser=Xd});var cs=Z(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});var ls=gt(),As=Ce(),Hr=Yt(),Qt=Jt();function Yd(e){return Qt.state.contextualKeyword===e}Zt.isContextual=Yd;function Jd(e){let t=ls.lookaheadTypeAndKeyword.call(void 0);return t.type===As.TokenType.name&&t.contextualKeyword===e}Zt.isLookaheadContextual=Jd;function i1(e){return Qt.state.contextualKeyword===e&&ls.eat.call(void 0,As.TokenType.name)}Zt.eatContextual=i1;function Qd(e){i1(e)||Wr()}Zt.expectContextual=Qd;function r1(){return ls.match.call(void 0,As.TokenType.eof)||ls.match.call(void 0,As.TokenType.braceR)||o1()}Zt.canInsertSemicolon=r1;function o1(){let e=Qt.state.tokens[Qt.state.tokens.length-1],t=e?e.end:0;for(let s=t;s<Qt.state.start;s++){let i=Qt.input.charCodeAt(s);if(i===Hr.charCodes.lineFeed||i===Hr.charCodes.carriageReturn||i===8232||i===8233)return!0}return!1}Zt.hasPrecedingLineBreak=o1;function Zd(){let e=ls.nextTokenStart.call(void 0);for(let t=Qt.state.end;t<e;t++){let s=Qt.input.charCodeAt(t);if(s===Hr.charCodes.lineFeed||s===Hr.charCodes.carriageReturn||s===8232||s===8233)return!0}return!1}Zt.hasFollowingLineBreak=Zd;function a1(){return ls.eat.call(void 0,As.TokenType.semi)||r1()}Zt.isLineTerminator=a1;function em(){a1()||Wr('Unexpected token, expected ";"')}Zt.semicolon=em;function tm(e){ls.eat.call(void 0,e)||Wr(`Unexpected token, expected "${As.formatTokenType.call(void 0,e)}"`)}Zt.expect=tm;function Wr(e="Unexpected token",t=Qt.state.start){if(Qt.state.error)return;let s=new SyntaxError(e);s.pos=t,Qt.state.error=s,Qt.state.pos=Qt.input.length,ls.finishToken.call(void 0,As.TokenType.eof)}Zt.unexpected=Wr});var xa=Z(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});var va=Yt(),nm=[9,11,12,va.charCodes.space,va.charCodes.nonBreakingSpace,va.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Ps.WHITESPACE_CHARS=nm;var sm=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Ps.skipWhiteSpace=sm;var im=new Uint8Array(65536);Ps.IS_WHITESPACE=im;for(let e of Ps.WHITESPACE_CHARS)Ps.IS_WHITESPACE[e]=1});var ai=Z(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});var l1=Yt(),rm=xa();function om(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var am=new Uint8Array(65536);kn.IS_IDENTIFIER_CHAR=am;for(let e=0;e<128;e++)kn.IS_IDENTIFIER_CHAR[e]=om(e)?1:0;for(let e=128;e<65536;e++)kn.IS_IDENTIFIER_CHAR[e]=1;for(let e of rm.WHITESPACE_CHARS)kn.IS_IDENTIFIER_CHAR[e]=0;kn.IS_IDENTIFIER_CHAR[8232]=0;kn.IS_IDENTIFIER_CHAR[8233]=0;var lm=kn.IS_IDENTIFIER_CHAR.slice();kn.IS_IDENTIFIER_START=lm;for(let e=l1.charCodes.digit0;e<=l1.charCodes.digit9;e++)kn.IS_IDENTIFIER_START[e]=0});var c1=Z(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});var ge=St(),we=Ce(),cm=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(we.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(we.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(we.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(we.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(we.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(we.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(we.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,ge.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,ge.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(we.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ge.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(we.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);ga.READ_WORD_TREE=cm});var f1=Z(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});var vn=Jt(),us=Yt(),u1=ai(),_a=gt(),p1=c1(),h1=Ce();function um(){let e=0,t=0,s=vn.state.pos;for(;s<vn.input.length&&(t=vn.input.charCodeAt(s),!(t<us.charCodes.lowercaseA||t>us.charCodes.lowercaseZ));){let r=p1.READ_WORD_TREE[e+(t-us.charCodes.lowercaseA)+1];if(r===-1)break;e=r,s++}let i=p1.READ_WORD_TREE[e];if(i>-1&&!u1.IS_IDENTIFIER_CHAR[t]){vn.state.pos=s,i&1?_a.finishToken.call(void 0,i>>>1):_a.finishToken.call(void 0,h1.TokenType.name,i>>>1);return}for(;s<vn.input.length;){let r=vn.input.charCodeAt(s);if(u1.IS_IDENTIFIER_CHAR[r])s++;else if(r===us.charCodes.backslash){if(s+=2,vn.input.charCodeAt(s)===us.charCodes.leftCurlyBrace){for(;s<vn.input.length&&vn.input.charCodeAt(s)!==us.charCodes.rightCurlyBrace;)s++;s++}}else if(r===us.charCodes.atSign&&vn.input.charCodeAt(s+1)===us.charCodes.atSign)s+=2;else break}vn.state.pos=s,_a.finishToken.call(void 0,h1.TokenType.name)}ba.default=um});var gt=Z(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});function pm(e){return e&&e.__esModule?e:{default:e}}var b=Jt(),li=cs(),F=Yt(),m1=ai(),wa=xa(),hm=St(),fm=f1(),dm=pm(fm),ne=Ce(),ot;(function(e){e[e.Access=0]="Access";let s=1;e[e.ExportAccess=s]="ExportAccess";let i=s+1;e[e.TopLevelDeclaration=i]="TopLevelDeclaration";let r=i+1;e[e.FunctionScopedDeclaration=r]="FunctionScopedDeclaration";let a=r+1;e[e.BlockScopedDeclaration=a]="BlockScopedDeclaration";let u=a+1;e[e.ObjectShorthandTopLevelDeclaration=u]="ObjectShorthandTopLevelDeclaration";let d=u+1;e[e.ObjectShorthandFunctionScopedDeclaration=d]="ObjectShorthandFunctionScopedDeclaration";let y=d+1;e[e.ObjectShorthandBlockScopedDeclaration=y]="ObjectShorthandBlockScopedDeclaration";let g=y+1;e[e.ObjectShorthand=g]="ObjectShorthand";let L=g+1;e[e.ImportDeclaration=L]="ImportDeclaration";let p=L+1;e[e.ObjectKey=p]="ObjectKey";let h=p+1;e[e.ImportAccess=h]="ImportAccess"})(ot||(Be.IdentifierRole=ot={}));var d1;(function(e){e[e.NoChildren=0]="NoChildren";let s=1;e[e.OneChild=s]="OneChild";let i=s+1;e[e.StaticChildren=i]="StaticChildren";let r=i+1;e[e.KeyAfterPropSpread=r]="KeyAfterPropSpread"})(d1||(Be.JSXRole=d1={}));function mm(e){let t=e.identifierRole;return t===ot.TopLevelDeclaration||t===ot.FunctionScopedDeclaration||t===ot.BlockScopedDeclaration||t===ot.ObjectShorthandTopLevelDeclaration||t===ot.ObjectShorthandFunctionScopedDeclaration||t===ot.ObjectShorthandBlockScopedDeclaration}Be.isDeclaration=mm;function ym(e){let t=e.identifierRole;return t===ot.FunctionScopedDeclaration||t===ot.BlockScopedDeclaration||t===ot.ObjectShorthandFunctionScopedDeclaration||t===ot.ObjectShorthandBlockScopedDeclaration}Be.isNonTopLevelDeclaration=ym;function Tm(e){let t=e.identifierRole;return t===ot.TopLevelDeclaration||t===ot.ObjectShorthandTopLevelDeclaration||t===ot.ImportDeclaration}Be.isTopLevelDeclaration=Tm;function km(e){let t=e.identifierRole;return t===ot.TopLevelDeclaration||t===ot.BlockScopedDeclaration||t===ot.ObjectShorthandTopLevelDeclaration||t===ot.ObjectShorthandBlockScopedDeclaration}Be.isBlockScopedDeclaration=km;function vm(e){let t=e.identifierRole;return t===ot.FunctionScopedDeclaration||t===ot.ObjectShorthandFunctionScopedDeclaration}Be.isFunctionScopedDeclaration=vm;function xm(e){return e.identifierRole===ot.ObjectShorthandTopLevelDeclaration||e.identifierRole===ot.ObjectShorthandBlockScopedDeclaration||e.identifierRole===ot.ObjectShorthandFunctionScopedDeclaration}Be.isObjectShorthandDeclaration=xm;var Hi=class{constructor(){this.type=b.state.type,this.contextualKeyword=b.state.contextualKeyword,this.start=b.state.start,this.end=b.state.end,this.scopeDepth=b.state.scopeDepth,this.isType=b.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};Be.Token=Hi;function zr(){b.state.tokens.push(new Hi),v1()}Be.next=zr;function gm(){b.state.tokens.push(new Hi),b.state.start=b.state.pos,Um()}Be.nextTemplateToken=gm;function _m(){b.state.type===ne.TokenType.assign&&--b.state.pos,$m()}Be.retokenizeSlashAsRegex=_m;function bm(e){for(let s=b.state.tokens.length-e;s<b.state.tokens.length;s++)b.state.tokens[s].isType=!0;let t=b.state.isType;return b.state.isType=!0,t}Be.pushTypeContext=bm;function Cm(e){b.state.isType=e}Be.popTypeContext=Cm;function y1(e){return Sa(e)?(zr(),!0):!1}Be.eat=y1;function wm(e){let t=b.state.isType;b.state.isType=!0,y1(e),b.state.isType=t}Be.eatTypeToken=wm;function Sa(e){return b.state.type===e}Be.match=Sa;function Sm(){let e=b.state.snapshot();zr();let t=b.state.type;return b.state.restoreFromSnapshot(e),t}Be.lookaheadType=Sm;var Gr=class{constructor(t,s){this.type=t,this.contextualKeyword=s}};Be.TypeAndKeyword=Gr;function Im(){let e=b.state.snapshot();zr();let t=b.state.type,s=b.state.contextualKeyword;return b.state.restoreFromSnapshot(e),new Gr(t,s)}Be.lookaheadTypeAndKeyword=Im;function T1(){return k1(b.state.pos)}Be.nextTokenStart=T1;function k1(e){wa.skipWhiteSpace.lastIndex=e;let t=wa.skipWhiteSpace.exec(b.input);return e+t[0].length}Be.nextTokenStartSince=k1;function Em(){return b.input.charCodeAt(T1())}Be.lookaheadCharCode=Em;function v1(){if(g1(),b.state.start=b.state.pos,b.state.pos>=b.input.length){let e=b.state.tokens;e.length>=2&&e[e.length-1].start>=b.input.length&&e[e.length-2].start>=b.input.length&&li.unexpected.call(void 0,"Unexpectedly reached the end of input."),Ve(ne.TokenType.eof);return}Am(b.input.charCodeAt(b.state.pos))}Be.nextToken=v1;function Am(e){m1.IS_IDENTIFIER_START[e]||e===F.charCodes.backslash||e===F.charCodes.atSign&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.atSign?dm.default.call(void 0):b1(e)}function Pm(){for(;b.input.charCodeAt(b.state.pos)!==F.charCodes.asterisk||b.input.charCodeAt(b.state.pos+1)!==F.charCodes.slash;)if(b.state.pos++,b.state.pos>b.input.length){li.unexpected.call(void 0,"Unterminated comment",b.state.pos-2);return}b.state.pos+=2}function x1(e){let t=b.input.charCodeAt(b.state.pos+=e);if(b.state.pos<b.input.length)for(;t!==F.charCodes.lineFeed&&t!==F.charCodes.carriageReturn&&t!==F.charCodes.lineSeparator&&t!==F.charCodes.paragraphSeparator&&++b.state.pos<b.input.length;)t=b.input.charCodeAt(b.state.pos)}Be.skipLineComment=x1;function g1(){for(;b.state.pos<b.input.length;){let e=b.input.charCodeAt(b.state.pos);switch(e){case F.charCodes.carriageReturn:b.input.charCodeAt(b.state.pos+1)===F.charCodes.lineFeed&&++b.state.pos;case F.charCodes.lineFeed:case F.charCodes.lineSeparator:case F.charCodes.paragraphSeparator:++b.state.pos;break;case F.charCodes.slash:switch(b.input.charCodeAt(b.state.pos+1)){case F.charCodes.asterisk:b.state.pos+=2,Pm();break;case F.charCodes.slash:x1(2);break;default:return}break;default:if(wa.IS_WHITESPACE[e])++b.state.pos;else return}}}Be.skipSpace=g1;function Ve(e,t=hm.ContextualKeyword.NONE){b.state.end=b.state.pos,b.state.type=e,b.state.contextualKeyword=t}Be.finishToken=Ve;function Nm(){let e=b.input.charCodeAt(b.state.pos+1);if(e>=F.charCodes.digit0&&e<=F.charCodes.digit9){C1(!0);return}e===F.charCodes.dot&&b.input.charCodeAt(b.state.pos+2)===F.charCodes.dot?(b.state.pos+=3,Ve(ne.TokenType.ellipsis)):(++b.state.pos,Ve(ne.TokenType.dot))}function Rm(){b.input.charCodeAt(b.state.pos+1)===F.charCodes.equalsTo?Fe(ne.TokenType.assign,2):Fe(ne.TokenType.slash,1)}function Lm(e){let t=e===F.charCodes.asterisk?ne.TokenType.star:ne.TokenType.modulo,s=1,i=b.input.charCodeAt(b.state.pos+1);e===F.charCodes.asterisk&&i===F.charCodes.asterisk&&(s++,i=b.input.charCodeAt(b.state.pos+2),t=ne.TokenType.exponent),i===F.charCodes.equalsTo&&b.input.charCodeAt(b.state.pos+2)!==F.charCodes.greaterThan&&(s++,t=ne.TokenType.assign),Fe(t,s)}function Om(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===e){b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo?Fe(ne.TokenType.assign,3):Fe(e===F.charCodes.verticalBar?ne.TokenType.logicalOR:ne.TokenType.logicalAND,2);return}if(e===F.charCodes.verticalBar){if(t===F.charCodes.greaterThan){Fe(ne.TokenType.pipeline,2);return}else if(t===F.charCodes.rightCurlyBrace&&b.isFlowEnabled){Fe(ne.TokenType.braceBarR,2);return}}if(t===F.charCodes.equalsTo){Fe(ne.TokenType.assign,2);return}Fe(e===F.charCodes.verticalBar?ne.TokenType.bitwiseOR:ne.TokenType.bitwiseAND,1)}function Dm(){b.input.charCodeAt(b.state.pos+1)===F.charCodes.equalsTo?Fe(ne.TokenType.assign,2):Fe(ne.TokenType.bitwiseXOR,1)}function Mm(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===e){Fe(ne.TokenType.preIncDec,2);return}t===F.charCodes.equalsTo?Fe(ne.TokenType.assign,2):e===F.charCodes.plusSign?Fe(ne.TokenType.plus,1):Fe(ne.TokenType.minus,1)}function Fm(){let e=b.input.charCodeAt(b.state.pos+1);if(e===F.charCodes.lessThan){if(b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo){Fe(ne.TokenType.assign,3);return}b.state.isType?Fe(ne.TokenType.lessThan,1):Fe(ne.TokenType.bitShiftL,2);return}e===F.charCodes.equalsTo?Fe(ne.TokenType.relationalOrEqual,2):Fe(ne.TokenType.lessThan,1)}function _1(){if(b.state.isType){Fe(ne.TokenType.greaterThan,1);return}let e=b.input.charCodeAt(b.state.pos+1);if(e===F.charCodes.greaterThan){let t=b.input.charCodeAt(b.state.pos+2)===F.charCodes.greaterThan?3:2;if(b.input.charCodeAt(b.state.pos+t)===F.charCodes.equalsTo){Fe(ne.TokenType.assign,t+1);return}Fe(ne.TokenType.bitShiftR,t);return}e===F.charCodes.equalsTo?Fe(ne.TokenType.relationalOrEqual,2):Fe(ne.TokenType.greaterThan,1)}function Bm(){b.state.type===ne.TokenType.greaterThan&&(b.state.pos-=1,_1())}Be.rescan_gt=Bm;function Vm(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===F.charCodes.equalsTo){Fe(ne.TokenType.equality,b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo?3:2);return}if(e===F.charCodes.equalsTo&&t===F.charCodes.greaterThan){b.state.pos+=2,Ve(ne.TokenType.arrow);return}Fe(e===F.charCodes.equalsTo?ne.TokenType.eq:ne.TokenType.bang,1)}function jm(){let e=b.input.charCodeAt(b.state.pos+1),t=b.input.charCodeAt(b.state.pos+2);e===F.charCodes.questionMark&&!(b.isFlowEnabled&&b.state.isType)?t===F.charCodes.equalsTo?Fe(ne.TokenType.assign,3):Fe(ne.TokenType.nullishCoalescing,2):e===F.charCodes.dot&&!(t>=F.charCodes.digit0&&t<=F.charCodes.digit9)?(b.state.pos+=2,Ve(ne.TokenType.questionDot)):(++b.state.pos,Ve(ne.TokenType.question))}function b1(e){switch(e){case F.charCodes.numberSign:++b.state.pos,Ve(ne.TokenType.hash);return;case F.charCodes.dot:Nm();return;case F.charCodes.leftParenthesis:++b.state.pos,Ve(ne.TokenType.parenL);return;case F.charCodes.rightParenthesis:++b.state.pos,Ve(ne.TokenType.parenR);return;case F.charCodes.semicolon:++b.state.pos,Ve(ne.TokenType.semi);return;case F.charCodes.comma:++b.state.pos,Ve(ne.TokenType.comma);return;case F.charCodes.leftSquareBracket:++b.state.pos,Ve(ne.TokenType.bracketL);return;case F.charCodes.rightSquareBracket:++b.state.pos,Ve(ne.TokenType.bracketR);return;case F.charCodes.leftCurlyBrace:b.isFlowEnabled&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.verticalBar?Fe(ne.TokenType.braceBarL,2):(++b.state.pos,Ve(ne.TokenType.braceL));return;case F.charCodes.rightCurlyBrace:++b.state.pos,Ve(ne.TokenType.braceR);return;case F.charCodes.colon:b.input.charCodeAt(b.state.pos+1)===F.charCodes.colon?Fe(ne.TokenType.doubleColon,2):(++b.state.pos,Ve(ne.TokenType.colon));return;case F.charCodes.questionMark:jm();return;case F.charCodes.atSign:++b.state.pos,Ve(ne.TokenType.at);return;case F.charCodes.graveAccent:++b.state.pos,Ve(ne.TokenType.backQuote);return;case F.charCodes.digit0:{let t=b.input.charCodeAt(b.state.pos+1);if(t===F.charCodes.lowercaseX||t===F.charCodes.uppercaseX||t===F.charCodes.lowercaseO||t===F.charCodes.uppercaseO||t===F.charCodes.lowercaseB||t===F.charCodes.uppercaseB){qm();return}}case F.charCodes.digit1:case F.charCodes.digit2:case F.charCodes.digit3:case F.charCodes.digit4:case F.charCodes.digit5:case F.charCodes.digit6:case F.charCodes.digit7:case F.charCodes.digit8:case F.charCodes.digit9:C1(!1);return;case F.charCodes.quotationMark:case F.charCodes.apostrophe:Km(e);return;case F.charCodes.slash:Rm();return;case F.charCodes.percentSign:case F.charCodes.asterisk:Lm(e);return;case F.charCodes.verticalBar:case F.charCodes.ampersand:Om(e);return;case F.charCodes.caret:Dm();return;case F.charCodes.plusSign:case F.charCodes.dash:Mm(e);return;case F.charCodes.lessThan:Fm();return;case F.charCodes.greaterThan:_1();return;case F.charCodes.equalsTo:case F.charCodes.exclamationMark:Vm(e);return;case F.charCodes.tilde:Fe(ne.TokenType.tilde,1);return;default:break}li.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,b.state.pos)}Be.getTokenFromCode=b1;function Fe(e,t){b.state.pos+=t,Ve(e)}function $m(){let e=b.state.pos,t=!1,s=!1;for(;;){if(b.state.pos>=b.input.length){li.unexpected.call(void 0,"Unterminated regular expression",e);return}let i=b.input.charCodeAt(b.state.pos);if(t)t=!1;else{if(i===F.charCodes.leftSquareBracket)s=!0;else if(i===F.charCodes.rightSquareBracket&&s)s=!1;else if(i===F.charCodes.slash&&!s)break;t=i===F.charCodes.backslash}++b.state.pos}++b.state.pos,w1(),Ve(ne.TokenType.regexp)}function Ca(){for(;;){let e=b.input.charCodeAt(b.state.pos);if(e>=F.charCodes.digit0&&e<=F.charCodes.digit9||e===F.charCodes.underscore)b.state.pos++;else break}}function qm(){for(b.state.pos+=2;;){let t=b.input.charCodeAt(b.state.pos);if(t>=F.charCodes.digit0&&t<=F.charCodes.digit9||t>=F.charCodes.lowercaseA&&t<=F.charCodes.lowercaseF||t>=F.charCodes.uppercaseA&&t<=F.charCodes.uppercaseF||t===F.charCodes.underscore)b.state.pos++;else break}b.input.charCodeAt(b.state.pos)===F.charCodes.lowercaseN?(++b.state.pos,Ve(ne.TokenType.bigint)):Ve(ne.TokenType.num)}function C1(e){let t=!1,s=!1;e||Ca();let i=b.input.charCodeAt(b.state.pos);if(i===F.charCodes.dot&&(++b.state.pos,Ca(),i=b.input.charCodeAt(b.state.pos)),(i===F.charCodes.uppercaseE||i===F.charCodes.lowercaseE)&&(i=b.input.charCodeAt(++b.state.pos),(i===F.charCodes.plusSign||i===F.charCodes.dash)&&++b.state.pos,Ca(),i=b.input.charCodeAt(b.state.pos)),i===F.charCodes.lowercaseN?(++b.state.pos,t=!0):i===F.charCodes.lowercaseM&&(++b.state.pos,s=!0),t){Ve(ne.TokenType.bigint);return}if(s){Ve(ne.TokenType.decimal);return}Ve(ne.TokenType.num)}function Km(e){for(b.state.pos++;;){if(b.state.pos>=b.input.length){li.unexpected.call(void 0,"Unterminated string constant");return}let t=b.input.charCodeAt(b.state.pos);if(t===F.charCodes.backslash)b.state.pos++;else if(t===e)break;b.state.pos++}b.state.pos++,Ve(ne.TokenType.string)}function Um(){for(;;){if(b.state.pos>=b.input.length){li.unexpected.call(void 0,"Unterminated template");return}let e=b.input.charCodeAt(b.state.pos);if(e===F.charCodes.graveAccent||e===F.charCodes.dollarSign&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.leftCurlyBrace){if(b.state.pos===b.state.start&&Sa(ne.TokenType.template))if(e===F.charCodes.dollarSign){b.state.pos+=2,Ve(ne.TokenType.dollarBraceL);return}else{++b.state.pos,Ve(ne.TokenType.backQuote);return}Ve(ne.TokenType.template);return}e===F.charCodes.backslash&&b.state.pos++,b.state.pos++}}function w1(){for(;b.state.pos<b.input.length;){let e=b.input.charCodeAt(b.state.pos);if(m1.IS_IDENTIFIER_CHAR[e])b.state.pos++;else if(e===F.charCodes.backslash){if(b.state.pos+=2,b.input.charCodeAt(b.state.pos)===F.charCodes.leftCurlyBrace){for(;b.state.pos<b.input.length&&b.input.charCodeAt(b.state.pos)!==F.charCodes.rightCurlyBrace;)b.state.pos++;b.state.pos++}}else break}}Be.skipWord=w1});var Wi=Z(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});var S1=Ce();function Hm(e,t=e.currentIndex()){let s=t+1;if(Xr(e,s)){let i=e.identifierNameAtIndex(t);return{isType:!1,leftName:i,rightName:i,endIndex:s}}if(s++,Xr(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};if(s++,Xr(e,s))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:s};if(s++,Xr(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};throw new Error(`Unexpected import/export specifier at ${t}`)}Ia.default=Hm;function Xr(e,t){let s=e.tokens[t];return s.type===S1.TokenType.braceR||s.type===S1.TokenType.comma}});var I1=Z(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var Pa=Z(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});function Wm(e){let[t,s]=E1(e.jsxPragma||"React.createElement"),[i,r]=E1(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:s,fragmentBase:i,fragmentSuffix:r}}Aa.default=Wm;function E1(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var un=Z(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});var Na=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};Ra.default=Na});var Da=Z(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});function Oa(e){return e&&e.__esModule?e:{default:e}}var Gm=I1(),zm=Oa(Gm),Yr=gt(),Re=Ce(),An=Yt(),Xm=Pa(),Ym=Oa(Xm),Jm=un(),Qm=Oa(Jm),La=class e extends Qm.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,s,i,r,a){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.nameManager=r,this.options=a,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=Ym.default.call(void 0,a),this.isAutomaticRuntime=a.jsxRuntime==="automatic",this.jsxImportSource=a.jsxImportSource||"react"}process(){return this.tokens.matches1(Re.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[s,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${i} = require("${s}");`;else{let{createElement:s,...i}=this.esmAutomaticImportNameResolutions;s&&(t+=`import {createElement as ${s}} from "${this.jsxImportSource}";`);let r=Object.entries(i).map(([a,u])=>`${a} as ${u}`).join(", ");if(r){let a=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${r}} from "${a}";`}}return t}processJSXTag(){let{jsxRole:t,start:s}=this.tokens.currentToken(),i=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&t!==Yr.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(i,t):this.transformTagToCreateElement(i)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let s=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<s.length;)s[this.lastIndex]===` -`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,s){let i=s===Yr.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(i));let r=null;if(this.tokens.matches1(Re.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(s);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),r=this.processProps(!0),this.tokens.matches2(Re.TokenType.slash,Re.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(Re.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(s);else throw new Error("Expected either /> or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(r===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${i}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(Re.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(Re.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(Re.TokenType.slash,Re.TokenType.jsxTagEnd))if(this.tokens.matches1(Re.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(Re.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,s){let i=this.claimAutoImportedName(t,s);return this.importProcessor?`${i}.call(void 0, `:`${i}(`}claimAutoImportedName(t,s){if(this.importProcessor){let i=this.jsxImportSource+s;return this.cjsAutomaticModuleNameResolutions[i]||(this.cjsAutomaticModuleNameResolutions[i]=this.importProcessor.getFreeIdentifierForPath(i)),`${this.cjsAutomaticModuleNameResolutions[i]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,Re.TokenType.jsxName,Re.TokenType.jsxName)&&!this.tokens.matches2AtIndex(t-1,Re.TokenType.greaterThan,Re.TokenType.jsxName)&&!this.tokens.matches1AtIndex(t,Re.TokenType.braceL)&&!this.tokens.matches1AtIndex(t,Re.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,Re.TokenType.slash,Re.TokenType.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let s=this.tokens.identifierName();P1(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let s=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(Re.TokenType.jsxName)&&!this.tokens.matches1(Re.TokenType.braceL)){s?this.tokens.appendCode(`, {${s}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),s?this.tokens.appendCode(` ${s}}`):this.tokens.appendCode("}")}processProps(t){let s=null;for(;;){if(this.tokens.matches2(Re.TokenType.jsxName,Re.TokenType.eq)){let i=this.tokens.identifierName();if(t&&i==="key"){s!==null&&this.tokens.appendCode(s.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let r=this.tokens.snapshot();this.processPropValue(),s=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(r);continue}else this.processPropName(i),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(Re.TokenType.jsxName)){let i=this.tokens.identifierName();this.processPropName(i),this.tokens.appendCode(": true")}else if(this.tokens.matches1(Re.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return s}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(Re.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(Re.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),s=this.tokens.code.slice(t.start+1,t.end-1),i=A1(s),r=ey(s);this.tokens.replaceToken(r+i)}processAutomaticChildrenAndEndProps(t){t===Yr.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Yr.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let s=t;for(;;){if(this.tokens.matches2(Re.TokenType.jsxTagStart,Re.TokenType.slash))return;let i=!1;if(this.tokens.matches1(Re.TokenType.braceL))this.tokens.matches2(Re.TokenType.braceL,Re.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(s?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),i=!0);else if(this.tokens.matches1(Re.TokenType.jsxTagStart))this.tokens.appendCode(s?", ":""),this.processJSXTag(),i=!0;else if(this.tokens.matches1(Re.TokenType.jsxText)||this.tokens.matches1(Re.TokenType.jsxEmptyText))i=this.processChildTextElement(s);else throw new Error("Unexpected token when processing JSX children.");i&&(s=!0)}}processChildTextElement(t){let s=this.tokens.currentToken(),i=this.tokens.code.slice(s.start,s.end),r=A1(i),a=Zm(i);return a==='""'?(this.tokens.replaceToken(r),!1):(this.tokens.replaceToken(`${t?", ":""}${a}${r}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};Jr.default=La;function P1(e){let t=e.charCodeAt(0);return t>=An.charCodes.lowercaseA&&t<=An.charCodes.lowercaseZ}Jr.startsWithLowerCase=P1;function Zm(e){let t="",s="",i=!1,r=!1;for(let a=0;a<e.length;a++){let u=e[a];if(u===" "||u===" "||u==="\r")i||(s+=u);else if(u===` -`)s="",i=!0;else{if(r&&i&&(t+=" "),t+=s,s="",u==="&"){let{entity:d,newI:y}=N1(e,a+1);a=y-1,t+=d}else t+=u;r=!0,i=!1}}return i||(t+=s),JSON.stringify(t)}function A1(e){let t=0,s=0;for(let i of e)i===` + `+r}var Wi=Object.prototype.hasOwnProperty,ca=Object.prototype,Gn=JSON.stringify,xa=Symbol();function Od(e){console.error(e)}function qu(e,t,s,i,r,a,u,d){if(Ps.A!==null&&Ps.A!==mu)throw Error(ce(458));Ps.A=mu;var v=new Set,g=[],O=new Set;this.type=e,this.status=10,this.flushScheduled=!1,this.destination=this.fatalError=null,this.bundlerConfig=s,this.cache=new Map,this.cacheController=new AbortController,this.pendingChunks=this.nextChunkId=0,this.hints=O,this.abortableTasks=v,this.pingedTasks=g,this.completedImportChunks=[],this.completedHintChunks=[],this.completedRegularChunks=[],this.completedErrorChunks=[],this.writtenSymbols=new Map,this.writtenClientReferences=new Map,this.writtenServerReferences=new Map,this.writtenObjects=new WeakMap,this.writtenImportStrings=new Map,this.writtenImportStringsSize=0,this.temporaryReferences=d,this.identifierPrefix=u||"",this.identifierCount=1,this.taintCleanupQueue=[],this.onError=i===void 0?Od:i,this.onAllReady=r,this.onFatalError=a,e=Pn(this,t,null,!1,0,v),g.push(e)}var ot=null;function yu(e,t,s){switch(s.status){case"fulfilled":return t=Pn(e,s,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks),t.model=s.value,qi(e,t),t.id;case"rejected":return t=Pn(e,s,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks),Xn(e,t,s.reason),t.id;default:var i=Pn(e,s,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);return e.status===12?(e.abortableTasks.delete(i),e.type===21?(oi(i),ai(i,e)):(t=e.fatalError,_a(i),ba(i,e,t)),i.id):(typeof s.status!="string"&&(s.status="pending",s.then(function(r){s.status==="pending"&&(s.status="fulfilled",s.value=r)},function(r){s.status==="pending"&&(s.status="rejected",s.reason=r)})),s.then(function(r){i.model=r,qi(e,i)},function(r){i.status===0&&(Xn(e,i,r),pn(e))}),i.id)}}function Dd(e,t,s){function i(O){if(g.status===0)if(O.done)g.status=1,O=g.id.toString(16)+`:C +`,e.completedRegularChunks.push(Jt(O)),e.abortableTasks.delete(g),e.cacheController.signal.removeEventListener("abort",a),pn(e),Vr(e);else try{e.pendingChunks++,g.model=O.value,d?Vt(e,g.id,"b",g.model,!1):Xu(e,g),pn(e),v.read().then(i,r)}catch(p){r(p)}}function r(O){g.status===0&&(e.cacheController.signal.removeEventListener("abort",a),Xn(e,g,O),pn(e),v.cancel(O).then(r,r))}function a(){if(g.status===0){var O=e.cacheController.signal;O.removeEventListener("abort",a),O=O.reason,e.type===21?(e.abortableTasks.delete(g),oi(g),ai(g,e)):(Xn(e,g,O),pn(e)),v.cancel(O).then(r,r)}}var u=s.supportsBYOB;if(u===void 0)try{s.getReader({mode:"byob"}).releaseLock(),u=!0}catch{u=!1}var d=u,v=s.getReader(),g=Pn(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);return e.pendingChunks++,t=g.id.toString(16)+":"+(d?"r":"R")+` +`,e.completedRegularChunks.push(Jt(t)),e.cacheController.signal.addEventListener("abort",a),v.read().then(i,r),_t(g.id)}function Md(e,t,s,i){function r(v){if(d.status===0)if(v.done){if(d.status=1,v.value===void 0)var g=d.id.toString(16)+`:C +`;else try{var O=Is(e,v.value,0);g=d.id.toString(16)+":C"+Gn(_t(O))+` +`}catch(p){a(p);return}e.completedRegularChunks.push(Jt(g)),e.abortableTasks.delete(d),e.cacheController.signal.removeEventListener("abort",u),pn(e),Vr(e)}else try{d.model=v.value,e.pendingChunks++,Xu(e,d),pn(e),i.next().then(r,a)}catch(p){a(p)}}function a(v){d.status===0&&(e.cacheController.signal.removeEventListener("abort",u),Xn(e,d,v),pn(e),typeof i.throw=="function"&&i.throw(v).then(An,An))}function u(){if(d.status===0){var v=e.cacheController.signal;v.removeEventListener("abort",u);var g=v.reason;e.type===21?(e.abortableTasks.delete(d),oi(d),ai(d,e)):(Xn(e,d,v.reason),pn(e)),typeof i.throw=="function"&&i.throw(g).then(An,An)}}s=s===i;var d=Pn(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks);return e.pendingChunks++,t=d.id.toString(16)+":"+(s?"x":"X")+` +`,e.completedRegularChunks.push(Jt(t)),e.cacheController.signal.addEventListener("abort",u),i.next().then(r,a),_t(d.id)}function Ht(e,t,s){s=Gn(s),t=Jt(":H"+t+s+` +`),e.completedHintChunks.push(t),pn(e)}function Fd(e){if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:e}function Bd(e,t,s){switch(s.status){case"fulfilled":return s.value;case"rejected":break;default:typeof s.status!="string"&&(s.status="pending",s.then(function(i){s.status==="pending"&&(s.status="fulfilled",s.value=i)},function(i){s.status==="pending"&&(s.status="rejected",s.reason=i)}))}return{$$typeof:Hi,_payload:s,_init:Fd}}function ku(){}function Vd(e,t,s,i){if(typeof i!="object"||i===null||i.$$typeof===us)return i;if(typeof i.then=="function")return Bd(e,t,i);var r=Vu(i);return r?(e={},e[Symbol.iterator]=function(){return r.call(i)},e):typeof i[As]!="function"||typeof ReadableStream=="function"&&i instanceof ReadableStream?i:(e={},e[As]=function(){return i[As]()},e)}function vu(e,t,s,i,r){var a=t.thenableState;if(t.thenableState=null,oa=0,ri=a,r=i(r,void 0),e.status===12)throw typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.$$typeof!==us&&r.then(ku,ku),null;return r=Vd(e,t,i,r),i=t.keyPath,a=t.implicitSlot,s!==null?t.keyPath=s===ii||i===ii?ii:i===null?s:i+","+s:i===null&&(t.implicitSlot=!0),e=Gi(e,t,ga,"",r),t.keyPath=i,t.implicitSlot=a,e}function xu(e,t,s){return t.keyPath!==null?(e=[En,ka,t.keyPath,{children:s}],t.implicitSlot?[e]:e):s}var cs=0;function gu(e,t){return t=Pn(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks),qi(e,t),Es(t.id)}function ua(e,t,s,i,r,a){if(r!=null)throw Error(ce(379));if(typeof s=="function"&&s.$$typeof!==us&&s.$$typeof!==ya)return vu(e,t,i,s,a);if(s===ka&&i===null)return s=t.implicitSlot,t.keyPath===null&&(t.implicitSlot=!0),a=Gi(e,t,ga,"",a.children),t.implicitSlot=s,a;if(s!=null&&typeof s=="object"&&s.$$typeof!==us)switch(s.$$typeof){case Hi:var u=s._init;if(s=u(s._payload),e.status===12)throw null;return ua(e,t,s,i,r,a);case Fu:return vu(e,t,i,s.render,a);case Bu:return ua(e,t,s.type,i,r,a)}else typeof s=="string"&&(r=t.formatContext,u=gd(r,s,a),r!==u&&a.children!=null&&Is(e,a.children,u));return e=i,i=t.keyPath,e===null?e=i:i!==null&&(e=i===ii||e===ii?ii:i+","+e),a=[En,s,e,a],t=t.implicitSlot&&e!==null?[a]:a,t}function qi(e,t){var s=e.pingedTasks;s.push(t),s.length===1&&(e.flushScheduled=e.destination!==null,e.type===21||e.status===10?Pu(function(){return fa(e)}):Ki(function(){return fa(e)}))}function Pn(e,t,s,i,r,a){return jd(e,e.nextChunkId++,t,s,i,r,a)}function jd(e,t,s,i,r,a,u){e.pendingChunks++,typeof s!="object"||s===null||i!==null||r||e.writtenObjects.set(s,_t(t));var d={id:t,status:0,model:s,keyPath:i,implicitSlot:r,formatContext:a,ping:function(){return qi(e,d)},thenableState:null};return u.add(d),d}function pa(e,t,s,i,r){var a=r;r!==null&&typeof r=="object"&&typeof r.toJSON=="function"&&(a=r.toJSON(i)),cs+=i.length,r=t.keyPath;var u=t.implicitSlot;try{var d=Gi(e,t,s,i,a)}catch(g){s=t.model,s=typeof s=="object"&&s!==null&&(s.$$typeof===En||s.$$typeof===Hi),e.status===12?(t.status=3,e.type===21?(r=e.nextChunkId++,r=s?Es(r):_t(r),d=r):(r=e.fatalError,d=s?Es(r):_t(r))):(i=g===va?ju():g,typeof i=="object"&&i!==null&&typeof i.then=="function"?(a=Pn(e,t.model,t.keyPath,t.implicitSlot,t.formatContext,e.abortableTasks),d=a.ping,i.then(d,d),a.thenableState=$u(),t.keyPath=r,t.implicitSlot=u,d=s?Es(a.id):_t(a.id)):(t.keyPath=r,t.implicitSlot=u,e.pendingChunks++,r=e.nextChunkId++,u=zn(e,i,t),Br(e,r,u),d=s?Es(r):_t(r)))}if(r=d,r===null||typeof r!="object")return r;if(Qt(r)){var v=[];for(u=0;u<r.length;u++)v[u]=pa(e,t,r,""+u,r[u]);return v}u={};for(v in r)Wi.call(r,v)&&(s=pa(e,t,r,v,r[v]),v==="__proto__"?Object.defineProperty(u,v,{value:s,enumerable:!0,writable:!0,configurable:!0}):u[v]=s);return u}function _t(e){return"$"+e.toString(16)}function Es(e){return"$L"+e.toString(16)}function Uu(e,t,s){return e=Gn(s),t=t.toString(16)+":"+e+` +`,Jt(t)}function _u(e,t,s,i){var r=i.$$async?i.$$id+"#async":i.$$id,a=e.writtenClientReferences,u=a.get(r);if(u!==void 0)return t[0]===En&&s==="1"?Es(u):_t(u);try{var d=e.bundlerConfig,v=i.$$id;u="";var g=d[v];if(g)u=g.name;else{var O=v.lastIndexOf("#");if(O!==-1&&(u=v.slice(O+1),g=d[v.slice(0,O)]),!g)throw Error(ce(596,v))}if(g.async===!0&&i.$$async===!0)throw Error(ce(597,v));var p=g.async===!0||i.$$async===!0?[g.id,g.chunks,u,1]:[g.id,g.chunks,u],f=ha(e,p,0);if(f!==Un)var T=Gn(f);else e:{i=Or,Or=e;try{T=Gn(p,Kd);break e}finally{Or=i}T=void 0}var x=T;e.pendingChunks++;var w=e.nextChunkId++,S=w.toString(16)+":I"+x+` +`,A=Jt(S);return e.completedImportChunks.push(A),a.set(r,w),t[0]===En&&s==="1"?Es(w):_t(w)}catch(q){return e.pendingChunks++,t=e.nextChunkId++,s=zn(e,q,null),Br(e,t,s),_t(t)}}function Is(e,t,s){return t=Pn(e,t,null,!1,s,e.abortableTasks),zu(e,t),t.id}function Xt(e,t,s){e.pendingChunks++;var i=e.nextChunkId++;return Vt(e,i,t,s,!1),_t(i)}function $d(e,t){function s(v){if(u.status===0)if(v.done)e.cacheController.signal.removeEventListener("abort",r),qi(e,u);else return a.push(v.value),d.read().then(s).catch(i)}function i(v){u.status===0&&(e.cacheController.signal.removeEventListener("abort",r),Xn(e,u,v),pn(e),d.cancel(v).then(i,i))}function r(){if(u.status===0){var v=e.cacheController.signal;v.removeEventListener("abort",r),v=v.reason,e.type===21?(e.abortableTasks.delete(u),oi(u),ai(u,e)):(Xn(e,u,v),pn(e)),d.cancel(v).then(i,i)}}var a=[t.type],u=Pn(e,a,null,!1,0,e.abortableTasks),d=t.stream().getReader();return e.cacheController.signal.addEventListener("abort",r),d.read().then(s).catch(i),"$B"+u.id.toString(16)}function ji(e){return e[0]==="$"?"$"+e:e}function Lr(e,t){if(16>t.length)return ji(t);var s=e.writtenImportStrings,i=s.get(t);if(i!==void 0)return i;if(i=e.writtenImportStringsSize+t.length,32768<i)return ji(t);e.writtenImportStringsSize=i,e.pendingChunks++,i=e.nextChunkId++;var r=Gn(ji(t));return e.completedImportChunks.push(Jt(i.toString(16)+":"+r+` +`)),e=_t(i),s.set(t,e),e}var ls=!1;function Gi(e,t,s,i,r){if(t.model=r,r===En)return"$";if(r===null)return null;if(typeof r=="object"){switch(r.$$typeof){case En:var a=null,u=e.writtenObjects;if(t.keyPath===null&&!t.implicitSlot){var d=u.get(r);if(d!==void 0)if(ls===r)ls=null;else return d;else i.indexOf(":")===-1&&(s=u.get(s),s!==void 0&&(a=s+":"+i,u.set(r,a)))}return 3200<cs?gu(e,t):(i=r.props,s=i.ref,e=ua(e,t,r.type,r.key,s!==void 0?s:null,i),typeof e=="object"&&e!==null&&a!==null&&(u.has(e)||u.set(e,a)),e);case Hi:if(3200<cs)return gu(e,t);if(t.thenableState=null,a=r._init,r=a(r._payload),e.status===12)throw null;return Gi(e,t,s,i,r);case Cd:throw Error(ce(525))}if(r.$$typeof===us)return _u(e,s,i,r);if(e.temporaryReferences!==void 0&&(a=e.temporaryReferences.get(r),a!==void 0))return"$T"+a;if(a=e.writtenObjects,u=a.get(r),typeof r.then=="function"){if(u!==void 0){if(t.keyPath!==null||t.implicitSlot)return"$@"+yu(e,t,r).toString(16);if(ls===r)ls=null;else return u}return e="$@"+yu(e,t,r).toString(16),a.set(r,e),e}if(u!==void 0)if(ls===r){if(u!==_t(t.id))return u;ls=null}else return u;else if(i.indexOf(":")===-1&&(u=a.get(s),u!==void 0)){if(d=i,Qt(s)&&s[0]===En)switch(i){case"1":d="type";break;case"2":d="key";break;case"3":d="props";break;case"4":d="_owner"}a.set(r,u+":"+d)}if(Qt(r))return xu(e,t,r);if(r instanceof Map)return r=Array.from(r),"$Q"+Is(e,r,0).toString(16);if(r instanceof Set)return r=Array.from(r),"$W"+Is(e,r,0).toString(16);if(typeof FormData=="function"&&r instanceof FormData)return r=Array.from(r.entries()),"$K"+Is(e,r,0).toString(16);if(r instanceof Error)return"$Z";if(r instanceof ArrayBuffer)return Xt(e,"A",new Uint8Array(r));if(r instanceof Int8Array)return Xt(e,"O",r);if(r instanceof Uint8Array)return Xt(e,"o",r);if(r instanceof Uint8ClampedArray)return Xt(e,"U",r);if(r instanceof Int16Array)return Xt(e,"S",r);if(r instanceof Uint16Array)return Xt(e,"s",r);if(r instanceof Int32Array)return Xt(e,"L",r);if(r instanceof Uint32Array)return Xt(e,"l",r);if(r instanceof Float32Array)return Xt(e,"G",r);if(r instanceof Float64Array)return Xt(e,"g",r);if(r instanceof BigInt64Array)return Xt(e,"M",r);if(r instanceof BigUint64Array)return Xt(e,"m",r);if(r instanceof DataView)return Xt(e,"V",r);if(typeof Blob=="function"&&r instanceof Blob)return $d(e,r);if(a=Vu(r))return i=a.call(r),i===r?(r=Array.from(i),"$i"+Is(e,r,0).toString(16)):xu(e,t,Array.from(i));if(typeof ReadableStream=="function"&&r instanceof ReadableStream)return Dd(e,t,r);if(a=r[As],typeof a=="function")return t.keyPath!==null?(e=[En,ka,t.keyPath,{children:r}],e=t.implicitSlot?[e]:e):(i=a.call(r),e=Md(e,t,r,i)),e;if(r instanceof Date)return"$D"+r.toJSON();if(e=Ns(r),e!==ca&&(e===null||Ns(e)!==null))throw Error(ce(498,Ss(s,i)));return r}if(typeof r=="string")return cs+=r.length,r[r.length-1]==="Z"&&s[i]instanceof Date?"$D"+r:1024<=r.length&&Ta!==null?(e.pendingChunks++,t=e.nextChunkId++,Wu(e,t,r,!1),_t(t)):ji(r);if(typeof r=="boolean")return r;if(typeof r=="number")return Number.isFinite(r)?r===0&&1/r===-1/0?"$-0":r:r===1/0?"$Infinity":r===-1/0?"$-Infinity":"$NaN";if(typeof r>"u")return"$undefined";if(typeof r=="function"){if(r.$$typeof===us)return _u(e,s,i,r);if(r.$$typeof===Dr)return t=e.writtenServerReferences,i=t.get(r),i!==void 0?e="$h"+i.toString(16):(i=r.$$bound,i=i===null?null:Promise.resolve(i),e=Is(e,{id:r.$$id,bound:i},0),t.set(r,e),e="$h"+e.toString(16)),e;if(e.temporaryReferences!==void 0&&(e=e.temporaryReferences.get(r),e!==void 0))return"$T"+e;throw r.$$typeof===ya?Error(ce(526)):/^on[A-Z]/.test(i)?Error(ce(374,Ss(s,i))):Error(ce(375,Ss(s,i)))}if(typeof r=="symbol"){if(t=e.writtenSymbols,a=t.get(r),a!==void 0)return _t(a);if(a=r.description,Symbol.for(a)!==r)throw Error(ce(376,r.description,Ss(s,i)));return e.pendingChunks++,i=e.nextChunkId++,s=Uu(e,i,"$S"+a),e.completedImportChunks.push(s),t.set(r,i),_t(i)}if(typeof r=="bigint")return"$n"+r.toString(10);throw Error(ce(378,typeof r,Ss(s,i)))}function zn(e,t){var s=ot;ot=null;try{var i=e.onError,r=i(t)}finally{ot=s}if(r!=null&&typeof r!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof r+'" instead');return r||""}function zi(e,t){var s=e.onFatalError;s(t),e.destination!==null?(e.status=14,Ru(e.destination,t)):(e.status=13,e.fatalError=t),t=Error(ce(562),{cause:t}),e.cacheController.abort(t)}function Br(e,t,s){s={digest:s},t=t.toString(16)+":E"+Gn(s)+` +`,t=Jt(t),e.completedErrorChunks.push(t)}var Or=null;function Kd(e,t){return typeof t=="string"?(e=Or,e===null?ji(t):Lr(e,t)):t}var Un={};function ha(e,t,s){switch(typeof t){case"string":return Lr(e,t);case"number":case"boolean":case"undefined":return t;case"object":if(t===null)return null;if(16<s||typeof t.toJSON=="function")return Un;if(Qt(t)){for(var i=t.length,r=Array(i),a=0;a<i;a++){var u=t[a];if(typeof u=="string")r[a]=Lr(e,u);else{if(u=ha(e,u,s+1),u===Un)return Un;r[a]=u}}return r}if(i=Ns(t),i!==ca&&i!==null)return Un;for(i=Object.keys(t),r={},a=0;a<i.length;a++){if(u=i[a],u in ca)return Un;var d=t[u];if(typeof d=="string")r[u]=Lr(e,d);else{if(d=ha(e,d,s+1),d===Un)return Un;r[u]=d}}return r;default:return Un}}function Hu(e,t,s){t=t.toString(16)+":"+s+` +`,t=Jt(t),e.completedRegularChunks.push(t)}function Vt(e,t,s,i,r){r?e.pendingDebugChunks++:e.pendingChunks++,r=new Uint8Array(i.buffer,i.byteOffset,i.byteLength),i=2048<i.byteLength?r.slice():r,r=i.byteLength,t=t.toString(16)+":"+s+r.toString(16)+",",t=Jt(t),e.completedRegularChunks.push(xa,t,i)}function Wu(e,t,s,i){if(Ta===null)throw Error("Existence of byteLengthOfChunk should have already been checked. This is a bug in React.");i?e.pendingDebugChunks++:e.pendingChunks++,s=Jt(s),i=s.byteLength,t=t.toString(16)+":T"+i.toString(16)+",",t=Jt(t),e.completedRegularChunks.push(xa,t,s)}function Gu(e,t,s){var i=t.id;typeof s=="string"&&Ta!==null?Wu(e,i,s,!1):s instanceof ArrayBuffer?Vt(e,i,"A",new Uint8Array(s),!1):s instanceof Int8Array?Vt(e,i,"O",s,!1):s instanceof Uint8Array?Vt(e,i,"o",s,!1):s instanceof Uint8ClampedArray?Vt(e,i,"U",s,!1):s instanceof Int16Array?Vt(e,i,"S",s,!1):s instanceof Uint16Array?Vt(e,i,"s",s,!1):s instanceof Int32Array?Vt(e,i,"L",s,!1):s instanceof Uint32Array?Vt(e,i,"l",s,!1):s instanceof Float32Array?Vt(e,i,"G",s,!1):s instanceof Float64Array?Vt(e,i,"g",s,!1):s instanceof BigInt64Array?Vt(e,i,"M",s,!1):s instanceof BigUint64Array?Vt(e,i,"m",s,!1):s instanceof DataView?Vt(e,i,"V",s,!1):(s=pa(e,t,{"":s},"",s),s=Gn(s),Hu(e,t.id,s))}function Xn(e,t,s){t.status=4,s=zn(e,s,t),Br(e,t.id,s),e.abortableTasks.delete(t),Vr(e)}var ga={};function zu(e,t){if(t.status===0){t.status=5;var s=cs;try{ls=t.model;var i=Gi(e,t,ga,"",t.model);if(ls=i,t.keyPath=null,t.implicitSlot=!1,typeof i=="object"&&i!==null)e.writtenObjects.set(i,_t(t.id)),Gu(e,t,i);else{var r=Gn(i);Hu(e,t.id,r)}t.status=1,e.abortableTasks.delete(t),Vr(e)}catch(v){if(e.status===12)if(e.abortableTasks.delete(t),t.status=0,e.type===21)oi(t),ai(t,e);else{var a=e.fatalError;_a(t),ba(t,e,a)}else{var u=v===va?ju():v;if(typeof u=="object"&&u!==null&&typeof u.then=="function"){t.status=0,t.thenableState=$u();var d=t.ping;u.then(d,d)}else Xn(e,t,u)}}finally{cs=s}}}function Xu(e,t){var s=cs;try{Gu(e,t,t.model)}finally{cs=s}}function fa(e){var t=Ps.H;Ps.H=Pd;var s=ot;Vi=ot=e;try{var i=e.pingedTasks;e.pingedTasks=[];for(var r=0;r<i.length;r++)zu(e,i[r]);li(e)}catch(a){zn(e,a,null),zi(e,a)}finally{Ps.H=t,Vi=null,ot=s}}function _a(e){e.status===0&&(e.status=3)}function ba(e,t,s){e.status===3&&(s=_t(s),e=Uu(t,e.id,s),t.completedErrorChunks.push(e))}function oi(e){e.status===0&&(e.status=3)}function ai(e,t){e.status===3&&t.pendingChunks--}function li(e){var t=e.destination;if(t!==null){cn=new Uint8Array(2048),un=0;try{for(var s=e.completedImportChunks,i=0;i<s.length;i++)e.pendingChunks--,Fi(t,s[i]);s.splice(0,i);var r=e.completedHintChunks;for(i=0;i<r.length;i++)Fi(t,r[i]);r.splice(0,i);var a=e.completedRegularChunks;for(i=0;i<a.length;i++){var u=a[i];if(s=void 0,u===xa){if(i+2>=a.length)throw Error(ce(601));e.pendingChunks-=2,Nu(t,a[i+1]),s=Fi(t,a[i+2]),i+=2}else e.pendingChunks--,s=Fi(t,u);if(!s){e.destination=null,i++;break}}a.splice(0,i);var d=e.completedErrorChunks;for(i=0;i<d.length;i++)e.pendingChunks--,Fi(t,d[i]);d.splice(0,i)}finally{e.flushScheduled=!1,cn&&0<un&&(t.enqueue(new Uint8Array(cn.buffer,0,un)),cn=null,un=0)}}e.pendingChunks===0&&(12>e.status&&(t=Error(ce(563)),e.cacheController.abort(t)),e.destination!==null&&(e.status=14,e.destination.close(),e.destination=null))}function Yu(e){e.flushScheduled=e.destination!==null,Pu(function(){return fa(e)}),Ki(function(){e.status===10&&(e.status=11)})}function pn(e){e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,Ki(function(){e.flushScheduled=!1,li(e)}))}function Vr(e){e.abortableTasks.size===0&&(e=e.onAllReady,e())}function Ju(e,t){if(e.status===13)e.status=14,Ru(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{li(e)}catch(s){zn(e,s,null),zi(e,s)}}}function qd(e,t){try{t.forEach(function(i){return ai(i,e)});var s=e.onAllReady;s(),li(e)}catch(i){zn(e,i,null),zi(e,i)}}function Ud(e,t,s){try{t.forEach(function(r){return ba(r,e,s)});var i=e.onAllReady;i(),li(e)}catch(r){zn(e,r,null),zi(e,r)}}function Qu(e,t){t.aborted?Mr(e,t.reason):t.addEventListener("abort",function(){Mr(e,t.reason)},{signal:e.cacheController.signal})}function Mr(e,t){if(!(11<e.status))try{e.status=12,e.cacheController.abort(t);var s=e.abortableTasks;if(0<s.size)if(e.type===21)s.forEach(function(d){return oi(d,e)}),Ki(function(){return qd(e,s)});else{var i=t===void 0?Error(ce(432)):typeof t=="object"&&t!==null&&typeof t.then=="function"?Error(ce(530)):t,r=zn(e,i,null),a=e.nextChunkId++;e.fatalError=a,e.pendingChunks++,Br(e,a,r,i,!1,null),s.forEach(function(d){return _a(d,e,a)}),Ki(function(){return Ud(e,s,a)})}else{var u=e.onAllReady;u(),li(e)}}catch(d){zn(e,d,null),zi(e,d)}}function Zu(e,t){var s="",i=e[t];if(i)s=i.name;else{var r=t.lastIndexOf("#");if(r!==-1&&(s=t.slice(r+1),i=e[t.slice(0,r)]),!i)throw Error(ce(589,t))}return i.async?[i.id,i.chunks,s,1]:[i.id,i.chunks,s]}var Ar=new Map;function bu(e){var t=__webpack_require__(e);return typeof t.then!="function"||t.status==="fulfilled"?null:(t.then(function(s){t.status="fulfilled",t.value=s},function(s){t.status="rejected",t.reason=s}),t)}function Hd(){}function e1(e){for(var t=e[1],s=[],i=0;i<t.length;){var r=t[i++],a=t[i++],u=Ar.get(r);u===void 0?(t1.set(r,a),a=__webpack_chunk_load__(r),s.push(a),u=Ar.set.bind(Ar,r,null),a.then(u,Hd),Ar.set(r,a)):u!==null&&s.push(u)}return e.length===4?s.length===0?bu(e[0]):Promise.all(s).then(function(){return bu(e[0])}):0<s.length?Promise.all(s):null}function $i(e){var t=__webpack_require__(e[0]);if(e.length===4&&typeof t.then=="function")if(t.status==="fulfilled")t=t.value;else throw t.reason;if(e[2]==="*")return t;if(e[2]==="")return t.__esModule?t.default:t;if(Wi.call(t,e[2]))return t[e[2]]}var t1=new Map,Wd=__webpack_require__.u;__webpack_require__.u=function(e){var t=t1.get(e);return t!==void 0?t:Wd(e)};var jr=Symbol();function jt(e,t,s){this.status=e,this.value=t,this.reason=s}jt.prototype=Object.create(Promise.prototype);Object.defineProperty(jt.prototype,"then",{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){switch(this.status){case"resolved_model":qr(this)}switch(this.status){case"fulfilled":if(typeof e=="function"){for(var s=this.value,i=0,r=new Set;s instanceof jt;){if(i++,s===this||r.has(s)||1e3<i){typeof t=="function"&&t(Error(ce(569)));return}if(r.add(s),s.status==="fulfilled")s=s.value;else break}e(this.value)}break;case"pending":case"blocked":typeof e=="function"&&(this.value===null&&(this.value=[]),this.value.push(e)),typeof t=="function"&&(this.reason===null&&(this.reason=[]),this.reason.push(t));break;default:typeof t=="function"&&t(this.reason)}}});var n1=Object.prototype,s1=Array.prototype;function $r(e,t,s,i){for(var r=0;r<t.length;r++){var a=t[r];typeof a=="function"?a(s):l1(e,a,s,i.reason)}}function Ca(e,t,s){for(var i=0;i<t.length;i++){var r=t[i];typeof r=="function"?r(s):Fr(e,r.handler,s)}}function Kr(e,t,s){if(t.status!=="pending"&&t.status!=="blocked")t.reason.error(s);else{var i=t.reason;t.status="rejected",t.reason=s,i!==null&&Ca(e,i,s)}}function i1(e,t,s){var i={};return new jt("resolved_model",t,(i.id=s,i[jr]=e,i))}function r1(e,t){return new jt("rejected",null,t)}function o1(e,t,s,i){if(t.status!=="pending")t=t.reason,s[0]==="C"?t.close(s==="C"?'"$undefined"':s.slice(1)):t.enqueueModel(s);else{var r=t.value,a=t.reason;if(t.status="resolved_model",t.value=s,s={},t.reason=(s.id=i,s[jr]=e,s),r!==null)switch(qr(t),t.status){case"fulfilled":$r(e,r,t.value,t);break;case"blocked":case"pending":if(t.value)for(e=0;e<r.length;e++)t.value.push(r[e]);else t.value=r;if(t.reason){if(a)for(r=0;r<a.length;r++)t.reason.push(a[r])}else t.reason=a;break;case"rejected":a&&Ca(e,a,t.reason)}}}function Cu(e,t,s){var i={};return new jt("resolved_model",(s?'{"done":true,"value":':'{"done":false,"value":')+t+"}",(i.id=-1,i[jr]=e,i))}function ra(e,t,s,i){o1(e,t,(i?'{"done":true,"value":':'{"done":false,"value":')+s+"}",-1)}function Gd(e,t,s,i){function r(O){var p=d.reason,f=d;f.status="rejected",f.value=null,f.reason=O,p!==null&&Ca(e,p,O),Fr(e,g,O)}var a=t.id;if(typeof a!="string"||i==="then")return null;var u=t.$$promise;if(u!==void 0)return u.status==="fulfilled"?(u=u.value,i==="__proto__"?null:s[i]=u):(Qe?(a=Qe,a.deps++):a=Qe={chunk:null,value:null,reason:null,deps:1,errored:!1},u.then(ma.bind(null,e,a,s,i),Fr.bind(null,e,a)),null);var d=new jt("blocked",null,null);t.$$promise=d;var v=Zu(e._bundlerConfig,a);if(u=t.bound,a=e1(v))u instanceof jt&&(a=Promise.all([a,u]));else if(u instanceof jt)a=Promise.resolve(u);else return u=$i(v),a=d,a.status="fulfilled",a.value=u,a.reason=null,u;if(Qe){var g=Qe;g.deps++}else g=Qe={chunk:null,value:null,reason:null,deps:1,errored:!1};return a.then(function(){var O=$i(v);if(t.bound){var p=t.bound.value;if(p=Qt(p)?p.slice(0):[],1e3<p.length){r(Error(ce(580,p.length,1e3)));return}p.unshift(null),O=O.bind.apply(O,p)}p=d.value;var f=d;f.status="fulfilled",f.value=O,f.reason=null,p!==null&&$r(e,p,O,f),ma(e,g,s,i,O)},r),null}function da(e,t,s,i,r,a){if(typeof i=="string")return Qd(e,t,s,i,r,a);if(typeof i=="object"&&i!==null)if(r!==void 0&&e._temporaryReferences!==void 0&&e._temporaryReferences.set(i,r),Qt(i)){if(a===null){var u={count:0,fork:!1};e._rootArrayContexts.set(i,u)}else u=a;for(1<i.length&&(u.fork=!0),Hn(u,i.length+1,e),t=0;t<i.length;t++)i[t]=da(e,i,""+t,i[t],r!==void 0?r+":"+t:void 0,u)}else for(u in i)Wi.call(i,u)&&(u==="__proto__"?delete i[u]:(t=r!==void 0&&u.indexOf(":")===-1?r+":"+u:void 0,t=da(e,i,u,i[u],t,null),t!==void 0?i[u]=t:delete i[u]));return i}function Hn(e,t,s){if((e.count+=t)>s._arraySizeLimit&&e.fork)throw Error(ce(571))}var Qe=null;function qr(e){var t=Qe;Qe=null;var s=e.reason,i=s[jr];s=s.id,s=s===-1?void 0:s.toString(16);var r=e.value;e.status="blocked",e.value=null,e.reason=null;try{var a=JSON.parse(r);r={count:0,fork:!1};var u=da(i,{"":a},"",a,s,r),d=e.value;if(d!==null)for(e.value=null,e.reason=null,a=0;a<d.length;a++){var v=d[a];typeof v=="function"?v(u):l1(i,v,u,r)}if(Qe!==null){if(Qe.errored)throw Qe.reason;if(0<Qe.deps){Qe.value=u,Qe.reason=r,Qe.chunk=e;return}}e.status="fulfilled",e.value=u,e.reason=r}catch(g){e.status="rejected",e.reason=g}finally{Qe=t}}function a1(e,t){e._closed=!0,e._closedReason=t,e._chunks.forEach(function(s){s.status==="pending"?Kr(e,s,t):s.status==="fulfilled"&&s.reason!==null&&(s=s.reason,typeof s.error=="function"&&s.error(t))})}function Ur(e,t){var s=e._chunks,i=s.get(t);return i||(i=e._formData.data.get(e._prefix+t),i=typeof i=="string"?i1(e,i,t):e._closed?r1(e,e._closedReason):new jt("pending",null,null),s.set(t,i)),i}function l1(e,t,s,i){var r=t.handler,a=t.parentObject,u=t.key,d=t.map,v=t.path;try{for(var g=0,O=e._rootArrayContexts,p=1;p<v.length;p++){var f=v[p];if(typeof s!="object"||s===null||Ns(s)!==n1&&Ns(s)!==s1||!Wi.call(s,f))throw Error(ce(570));if(s=s[f],Qt(s))g=0,i=O.get(s)||i;else if(i=null,typeof s=="string")g=s.length;else if(typeof s=="bigint"){var T=Math.abs(Number(s));g=T===0?1:Math.floor(Math.log10(T))+1}else g=ArrayBuffer.isView(s)?s.byteLength:0}var x=d(e,s,a,u),w=t.arrayRoot;w!==null&&(i!==null?(i.fork&&(w.fork=!0),Hn(w,i.count,e)):0<g&&Hn(w,g,e))}catch(S){Fr(e,r,S);return}ma(e,r,a,u,x)}function ma(e,t,s,i,r){i!=="__proto__"&&(s[i]=r),i===""&&t.value===null&&(t.value=r),t.deps--,t.deps===0&&(s=t.chunk,s!==null&&s.status==="blocked"&&(i=s.value,s.status="fulfilled",s.value=t.value,s.reason=t.reason,i!==null&&$r(e,i,t.value,s)))}function Fr(e,t,s){t.errored||(t.errored=!0,t.value=null,t.reason=s,t=t.chunk,t!==null&&t.status==="blocked"&&Kr(e,t,s))}function Bi(e,t,s,i,r,a){t=t.split(":");var u=parseInt(t[0],16),d=Ur(e,u);switch(d.status){case"resolved_model":qr(d)}switch(d.status){case"fulfilled":if(u=d.value,d=d.reason,d!==null&&"error"in d)throw Error(ce(599));for(var v=0,g=e._rootArrayContexts,O=1;O<t.length;O++){if(v=t[O],typeof u!="object"||u===null||Ns(u)!==n1&&Ns(u)!==s1||!Wi.call(u,v))throw Error(ce(570));u=u[v],Qt(u)?(v=0,d=g.get(u)||d):(d=null,typeof u=="string"?v=u.length:typeof u=="bigint"?(v=Math.abs(Number(u)),v=v===0?1:Math.floor(Math.log10(v))+1):v=ArrayBuffer.isView(u)?u.byteLength:0)}return s=a(e,u,s,i),r!==null&&(d!==null?(d.fork&&(r.fork=!0),Hn(r,d.count,e)):0<v&&Hn(r,v,e)),s;case"blocked":return Qe?(e=Qe,e.deps++):e=Qe={chunk:null,value:null,reason:null,deps:1,errored:!1},r={handler:e,parentObject:s,key:i,map:a,path:t,arrayRoot:r},d.value===null?d.value=[r]:d.value.push(r),d.reason===null?d.reason=[r]:d.reason.push(r),null;case"pending":throw Error(ce(574));default:return Qe?(Qe.errored=!0,Qe.value=null,Qe.reason=d.reason):Qe={chunk:null,value:null,reason:d.reason,deps:0,errored:!0},null}}function zd(e,t){if(!Qt(t))throw Error(ce(575));if(t.$$consumed===!0)throw Error(ce(572));return t.$$consumed=!0,new Map(t)}function Xd(e,t){if(!Qt(t))throw Error(ce(576));if(t.$$consumed===!0)throw Error(ce(573));return t.$$consumed=!0,new Set(t)}function Yd(e,t){if(!Qt(t))throw Error(ce(577));if(t.$$consumed===!0)throw Error(ce(578));return t.$$consumed=!0,t[Symbol.iterator]()}function Jd(e,t,s,i){return i==="then"&&typeof t=="function"?null:t}function Yt(e,t,s,i,r,a,u){function d(O){if(!g.errored){g.errored=!0,g.value=null,g.reason=O;var p=g.chunk;p!==null&&p.status==="blocked"&&Kr(e,p,O)}}t=parseInt(t.slice(2),16);var v=e._prefix+t;if(i=e._chunks,i.has(t))throw Error(ce(568));if(i.set(t,r1(e,Error(ce(568)))),t=e._formData.data.get(v).arrayBuffer(),Qe){var g=Qe;g.deps++}else g=Qe={chunk:null,value:null,reason:null,deps:1,errored:!1};return t.then(function(O){try{u!==null&&Hn(u,O.byteLength,e);var p=s===ArrayBuffer?O:new s(O);v!=="__proto__"&&(r[a]=p),a===""&&g.value===null&&(g.value=p)}catch(f){d(f);return}g.deps--,g.deps===0&&(O=g.chunk,O!==null&&O.status==="blocked"&&(p=O.value,O.status="fulfilled",O.value=g.value,O.reason=null,p!==null&&$r(e,p,g.value,O)))},d),null}function c1(e,t,s,i){var r=e._chunks;for(s=new jt("fulfilled",s,i),r.set(t,s),e=e._formData.data.getAll(e._prefix+t),t=0;t<e.length;t++)r=e[t],typeof r=="string"&&(r[0]==="C"?i.close(r==="C"?'"$undefined"':r.slice(1)):i.enqueueModel(r))}function wu(e,t,s){function i(g){s!=="bytes"||ArrayBuffer.isView(g)?r.enqueue(g):v.error(Error(ce(579)))}if(t=parseInt(t.slice(2),16),e._chunks.has(t))throw Error(ce(567));var r=null,a=!1,u=new ReadableStream({type:s,start:function(g){r=g}}),d=null,v={enqueueModel:function(g){if(d===null){var O=i1(e,g,-1);qr(O),O.status==="fulfilled"?i(O.value):(O.then(i,v.error),d=O)}else{O=d;var p=new jt("pending",null,null);p.then(i,v.error),d=p,O.then(function(){d===p&&(d=null),o1(e,p,g,-1)})}},close:function(){if(!a)if(a=!0,d===null)r.close();else{var g=d;d=null,g.then(function(){return r.close()})}},error:function(g){if(!a)if(a=!0,d===null)r.error(g);else{var O=d;d=null,O.then(function(){return r.error(g)})}}};return c1(e,t,u,v),u}function wa(e){this.next=e}wa.prototype={};wa.prototype[As]=function(){return this};function Su(e,t,s){if(t=parseInt(t.slice(2),16),e._chunks.has(t))throw Error(ce(567));var i=[],r=!1,a=0,u={};return u=(u[As]=function(){var d=0;return new wa(function(v){if(v!==void 0)throw Error(ce(524));if(d===i.length){if(r)return new jt("fulfilled",{done:!0,value:void 0},null);i[d]=new jt("pending",null,null)}return i[d++]})},u),s=s?u[As]():u,c1(e,t,s,{enqueueModel:function(d){a===i.length?i[a]=Cu(e,d,!1):ra(e,i[a],d,!1),a++},close:function(d){if(!r)for(r=!0,a===i.length?i[a]=Cu(e,d,!0):ra(e,i[a],d,!0),a++;a<i.length;)ra(e,i[a++],'"$undefined"',!0)},error:function(d){if(!r)for(r=!0,a===i.length&&(i[a]=new jt("pending",null,null));a<i.length;)Kr(e,i[a++],d)}}),s}function Qd(e,t,s,i,r,a){if(i[0]==="$"){switch(i[1]){case"$":return a!==null&&Hn(a,i.length-1,e),i.slice(1);case"@":return t=parseInt(i.slice(2),16),Ur(e,t);case"h":return a=i.slice(2),Bi(e,a,t,s,null,Gd);case"T":if(r===void 0||e._temporaryReferences===void 0)throw Error(ce(526));return bd(e._temporaryReferences,r);case"Q":return a=i.slice(2),Bi(e,a,t,s,null,zd);case"W":return a=i.slice(2),Bi(e,a,t,s,null,Xd);case"K":for(s=i.slice(2),t=e._prefix+"_",s=t+s+"_",a=new FormData,e=e._formData;i=e.keys,i===null&&(i=e.keys=Array.from(e.data.keys()),e.keyPointer=0),i=i[e.keyPointer],i!==void 0;)if(i.startsWith(s)){r=e.data.getAll(i);for(var u=i.slice(s.length),d=0;d<r.length;d++)a.append(u,r[d]);e.data.delete(i),e.keyPointer++}else{if(i.startsWith(t))break;e.keyPointer++}return a;case"i":return a=i.slice(2),Bi(e,a,t,s,null,Yd);case"I":return 1/0;case"-":return i==="$-0"?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(i.slice(2)));case"n":if(t=i.slice(2),300<t.length)throw Error(ce(581,t.length,300));return a!==null&&Hn(a,t.length,e),BigInt(t);case"A":return Yt(e,i,ArrayBuffer,1,t,s,a);case"O":return Yt(e,i,Int8Array,1,t,s,a);case"o":return Yt(e,i,Uint8Array,1,t,s,a);case"U":return Yt(e,i,Uint8ClampedArray,1,t,s,a);case"S":return Yt(e,i,Int16Array,2,t,s,a);case"s":return Yt(e,i,Uint16Array,2,t,s,a);case"L":return Yt(e,i,Int32Array,4,t,s,a);case"l":return Yt(e,i,Uint32Array,4,t,s,a);case"G":return Yt(e,i,Float32Array,4,t,s,a);case"g":return Yt(e,i,Float64Array,8,t,s,a);case"M":return Yt(e,i,BigInt64Array,8,t,s,a);case"m":return Yt(e,i,BigUint64Array,8,t,s,a);case"V":return Yt(e,i,DataView,1,t,s,a);case"B":if(t=parseInt(i.slice(2),16),e=e._formData.data.get(e._prefix+t),!(e instanceof Blob))throw Error(ce(582));return e;case"R":return wu(e,i,void 0);case"r":return wu(e,i,"bytes");case"X":return Su(e,i,!1);case"x":return Su(e,i,!0)}return i=i.slice(1),Bi(e,i,t,s,a,Jd)}return a!==null&&Hn(a,i.length,e),i}function u1(e,t,s){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:new FormData,r=4<arguments.length&&arguments[4]!==void 0?arguments[4]:1e6,a=new Map;return{_bundlerConfig:e,_prefix:t,_formData:{data:i,keyPointer:-1,keys:null},_chunks:a,_closed:!1,_closedReason:null,_temporaryReferences:s,_rootArrayContexts:new WeakMap,_arraySizeLimit:r}}function Iu(e,t){var s=t.id;if(typeof s!="string")return null;var i=Zu(e,s);return e=e1(i),t=t.bound,t instanceof Promise?Promise.all([t,e]).then(function(r){r=r[0];var a=$i(i);if(1e3<r.length)throw Error(ce(580,r.length,1e3));return a.bind.apply(a,[null].concat(r))}):e?Promise.resolve(e).then(function(){return $i(i)}):Promise.resolve($i(i))}function p1(e,t,s,i){if(e=u1(t,s,void 0,e,i),a1(e,Error(ce(412))),e=Ur(e,0),e.then(function(){}),e.status!=="fulfilled")throw e.reason;return e.value}Nn.createClientModuleProxy=function(e){return e=si({},e,!1),new Proxy(e,Ou)};Nn.createTemporaryReferenceSet=function(){return new WeakMap};Nn.decodeAction=function(e,t){var s=new FormData,i=null;if(e.forEach(function(u,d){d.startsWith("$ACTION_")?(d.startsWith("$ACTION_REF_")||d.startsWith("$ACTION_ID_"))&&(i=d):s.append(d,u)}),i===null)return null;var r=i,a=null;if(r.startsWith("$ACTION_REF_"))r="$ACTION_"+r.slice(12)+":",e=p1(e,t,r),a=Iu(t,e);else if(r.startsWith("$ACTION_ID_"))e=r.slice(11),a=Iu(t,{id:e,bound:null});else throw Error(ce(602));return a.then(function(u){return u.bind(null,s)})};Nn.decodeFormState=function(e,t,s){var i=t.get("$ACTION_KEY");if(typeof i!="string")return Promise.resolve(null);var r=null;if(t.forEach(function(d,v){v.startsWith("$ACTION_REF_")&&(r=v)}),r===null)return Promise.resolve(null);var a="$ACTION_"+r.slice(12)+":";t=p1(t,s,a);var u=t.id;return Promise.resolve(t.bound).then(function(d){return d===null?null:[e,i,u,d.length-1]})};Nn.decodeReply=function(e,t,s){if(typeof e=="string"){var i=new FormData;i.append("0",e),e=i}return e=u1(t,"",s?s.temporaryReferences:void 0,e,s?s.arraySizeLimit:void 0),t=Ur(e,0),a1(e,Error(ce(412))),t};Nn.prerender=function(e,t,s){return new Promise(function(i,r){var a=new qu(21,e,t,s?s.onError:void 0,function(){var u=new ReadableStream({type:"bytes",pull:function(d){Ju(a,d)},cancel:function(d){a.destination=null,Mr(a,d)}},{highWaterMark:0});i({prelude:u})},r,s?s.identifierPrefix:void 0,s?s.temporaryReferences:void 0);s&&s.signal&&Qu(a,s.signal),Yu(a)})};Nn.registerClientReference=function(e,t,s){return si(e,t+"#"+s,!1)};Nn.registerServerReference=function(e,t,s){return Object.defineProperties(e,{$$typeof:{value:Dr},$$id:{value:s===null?t:t+"#"+s,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:Lu,configurable:!0},toString:fd})};Nn.renderToReadableStream=function(e,t,s){var i=new qu(20,e,t,s?s.onError:void 0,An,An,s?s.identifierPrefix:void 0,s?s.temporaryReferences:void 0);return s&&s.signal&&Qu(i,s.signal),new ReadableStream({type:"bytes",start:function(){Yu(i)},pull:function(r){Ju(i,r)},cancel:function(r){i.destination=null,Mr(i,r)}},{highWaterMark:0})}});var f1=Z(Jn=>{"use strict";var Yn;Yn=h1();Jn.renderToReadableStream=Yn.renderToReadableStream;Jn.decodeReply=Yn.decodeReply;Jn.decodeAction=Yn.decodeAction;Jn.decodeFormState=Yn.decodeFormState;Jn.registerServerReference=Yn.registerServerReference;Jn.registerClientReference=Yn.registerClientReference;Jn.createClientModuleProxy=Yn.createClientModuleProxy;Jn.createTemporaryReferenceSet=Yn.createTemporaryReferenceSet});var It=Z(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});var d1;(function(e){e[e.NONE=0]="NONE";let s=1;e[e._abstract=s]="_abstract";let i=s+1;e[e._accessor=i]="_accessor";let r=i+1;e[e._as=r]="_as";let a=r+1;e[e._assert=a]="_assert";let u=a+1;e[e._asserts=u]="_asserts";let d=u+1;e[e._async=d]="_async";let v=d+1;e[e._await=v]="_await";let g=v+1;e[e._checks=g]="_checks";let O=g+1;e[e._constructor=O]="_constructor";let p=O+1;e[e._declare=p]="_declare";let f=p+1;e[e._enum=f]="_enum";let T=f+1;e[e._exports=T]="_exports";let x=T+1;e[e._from=x]="_from";let w=x+1;e[e._get=w]="_get";let S=w+1;e[e._global=S]="_global";let A=S+1;e[e._implements=A]="_implements";let q=A+1;e[e._infer=q]="_infer";let M=q+1;e[e._interface=M]="_interface";let c=M+1;e[e._is=c]="_is";let R=c+1;e[e._keyof=R]="_keyof";let W=R+1;e[e._mixins=W]="_mixins";let Y=W+1;e[e._module=Y]="_module";let ie=Y+1;e[e._namespace=ie]="_namespace";let he=ie+1;e[e._of=he]="_of";let ae=he+1;e[e._opaque=ae]="_opaque";let We=ae+1;e[e._out=We]="_out";let qe=We+1;e[e._override=qe]="_override";let Ft=qe+1;e[e._private=Ft]="_private";let Tt=Ft+1;e[e._protected=Tt]="_protected";let xt=Tt+1;e[e._proto=xt]="_proto";let At=xt+1;e[e._public=At]="_public";let it=At+1;e[e._readonly=it]="_readonly";let rt=it+1;e[e._require=rt]="_require";let wt=rt+1;e[e._satisfies=wt]="_satisfies";let ht=wt+1;e[e._set=ht]="_set";let St=ht+1;e[e._static=St]="_static";let Kt=St+1;e[e._symbol=Kt]="_symbol";let Pt=Kt+1;e[e._type=Pt]="_type";let qt=Pt+1;e[e._unique=qt]="_unique";let yn=qt+1;e[e._using=yn]="_using"})(d1||(Sa.ContextualKeyword=d1={}))});var we=Z(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});var K;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let s=16;e[e.IS_KEYWORD=s]="IS_KEYWORD";let i=32;e[e.IS_ASSIGN=i]="IS_ASSIGN";let r=64;e[e.IS_RIGHT_ASSOCIATIVE=r]="IS_RIGHT_ASSOCIATIVE";let a=128;e[e.IS_PREFIX=a]="IS_PREFIX";let u=256;e[e.IS_POSTFIX=u]="IS_POSTFIX";let d=512;e[e.IS_EXPRESSION_START=d]="IS_EXPRESSION_START";let v=512;e[e.num=v]="num";let g=1536;e[e.bigint=g]="bigint";let O=2560;e[e.decimal=O]="decimal";let p=3584;e[e.regexp=p]="regexp";let f=4608;e[e.string=f]="string";let T=5632;e[e.name=T]="name";let x=6144;e[e.eof=x]="eof";let w=7680;e[e.bracketL=w]="bracketL";let S=8192;e[e.bracketR=S]="bracketR";let A=9728;e[e.braceL=A]="braceL";let q=10752;e[e.braceBarL=q]="braceBarL";let M=11264;e[e.braceR=M]="braceR";let c=12288;e[e.braceBarR=c]="braceBarR";let R=13824;e[e.parenL=R]="parenL";let W=14336;e[e.parenR=W]="parenR";let Y=15360;e[e.comma=Y]="comma";let ie=16384;e[e.semi=ie]="semi";let he=17408;e[e.colon=he]="colon";let ae=18432;e[e.doubleColon=ae]="doubleColon";let We=19456;e[e.dot=We]="dot";let qe=20480;e[e.question=qe]="question";let Ft=21504;e[e.questionDot=Ft]="questionDot";let Tt=22528;e[e.arrow=Tt]="arrow";let xt=23552;e[e.template=xt]="template";let At=24576;e[e.ellipsis=At]="ellipsis";let it=25600;e[e.backQuote=it]="backQuote";let rt=27136;e[e.dollarBraceL=rt]="dollarBraceL";let wt=27648;e[e.at=wt]="at";let ht=29184;e[e.hash=ht]="hash";let St=29728;e[e.eq=St]="eq";let Kt=30752;e[e.assign=Kt]="assign";let Pt=32640;e[e.preIncDec=Pt]="preIncDec";let qt=33664;e[e.postIncDec=qt]="postIncDec";let yn=34432;e[e.bang=yn]="bang";let V=35456;e[e.tilde=V]="tilde";let G=35841;e[e.pipeline=G]="pipeline";let J=36866;e[e.nullishCoalescing=J]="nullishCoalescing";let re=37890;e[e.logicalOR=re]="logicalOR";let xe=38915;e[e.logicalAND=xe]="logicalAND";let fe=39940;e[e.bitwiseOR=fe]="bitwiseOR";let Ae=40965;e[e.bitwiseXOR=Ae]="bitwiseXOR";let Pe=41990;e[e.bitwiseAND=Pe]="bitwiseAND";let Oe=43015;e[e.equality=Oe]="equality";let Xe=44040;e[e.lessThan=Xe]="lessThan";let Ge=45064;e[e.greaterThan=Ge]="greaterThan";let Ye=46088;e[e.relationalOrEqual=Ye]="relationalOrEqual";let ct=47113;e[e.bitShiftL=ct]="bitShiftL";let yt=48137;e[e.bitShiftR=yt]="bitShiftR";let gt=49802;e[e.plus=gt]="plus";let Ut=50826;e[e.minus=Ut]="minus";let et=51723;e[e.modulo=et]="modulo";let bn=52235;e[e.star=bn]="star";let Bn=53259;e[e.slash=Bn]="slash";let is=54348;e[e.exponent=is]="exponent";let Ue=55296;e[e.jsxName=Ue]="jsxName";let kt=56320;e[e.jsxText=kt]="jsxText";let Je=57344;e[e.jsxEmptyText=Je]="jsxEmptyText";let Cn=58880;e[e.jsxTagStart=Cn]="jsxTagStart";let kn=59392;e[e.jsxTagEnd=kn]="jsxTagEnd";let te=60928;e[e.typeParameterStart=te]="typeParameterStart";let wn=61440;e[e.nonNullAssertion=wn]="nonNullAssertion";let bi=62480;e[e._break=bi]="_break";let Ci=63504;e[e._case=Ci]="_case";let Vn=64528;e[e._catch=Vn]="_catch";let Cs=65552;e[e._continue=Cs]="_continue";let Bs=66576;e[e._debugger=Bs]="_debugger";let wi=67600;e[e._default=wi]="_default";let rs=68624;e[e._do=rs]="_do";let Nt=69648;e[e._else=Nt]="_else";let Rt=70672;e[e._finally=Rt]="_finally";let He=71696;e[e._for=He]="_for";let Sn=73232;e[e._function=Sn]="_function";let me=73744;e[e._if=me]="_if";let Vs=74768;e[e._return=Vs]="_return";let ws=75792;e[e._switch=ws]="_switch";let Si=77456;e[e._throw=Si]="_throw";let os=77840;e[e._try=os]="_try";let on=78864;e[e._var=on]="_var";let Ii=79888;e[e._let=Ii]="_let";let jn=80912;e[e._const=jn]="_const";let $n=81936;e[e._while=$n]="_while";let js=82960;e[e._with=js]="_with";let Ei=84496;e[e._new=Ei]="_new";let $s=85520;e[e._this=$s]="_this";let Ks=86544;e[e._super=Ks]="_super";let qs=87568;e[e._class=qs]="_class";let Us=88080;e[e._extends=Us]="_extends";let Hs=89104;e[e._export=Hs]="_export";let Ai=90640;e[e._import=Ai]="_import";let Pi=91664;e[e._yield=Pi]="_yield";let Ni=92688;e[e._null=Ni]="_null";let Ri=93712;e[e._true=Ri]="_true";let Ws=94736;e[e._false=Ws]="_false";let Gs=95256;e[e._in=Gs]="_in";let zs=96280;e[e._instanceof=zs]="_instanceof";let Xs=97936;e[e._typeof=Xs]="_typeof";let Ys=98960;e[e._void=Ys]="_void";let xr=99984;e[e._delete=xr]="_delete";let Ho=100880;e[e._async=Ho]="_async";let Wo=101904;e[e._get=Wo]="_get";let gr=102928;e[e._set=gr]="_set";let Go=103952;e[e._declare=Go]="_declare";let Li=104976;e[e._readonly=Li]="_readonly";let _r=106e3;e[e._abstract=_r]="_abstract";let zo=107024;e[e._static=zo]="_static";let le=107536;e[e._public=le]="_public";let Js=108560;e[e._private=Js]="_private";let an=109584;e[e._protected=an]="_protected";let Xo=110608;e[e._override=Xo]="_override";let Yo=112144;e[e._as=Yo]="_as";let br=113168;e[e._enum=br]="_enum";let Jo=114192;e[e._type=Jo]="_type";let Qo=115216;e[e._implements=Qo]="_implements"})(K||(Hr.TokenType=K={}));function Zd(e){switch(e){case K.num:return"num";case K.bigint:return"bigint";case K.decimal:return"decimal";case K.regexp:return"regexp";case K.string:return"string";case K.name:return"name";case K.eof:return"eof";case K.bracketL:return"[";case K.bracketR:return"]";case K.braceL:return"{";case K.braceBarL:return"{|";case K.braceR:return"}";case K.braceBarR:return"|}";case K.parenL:return"(";case K.parenR:return")";case K.comma:return",";case K.semi:return";";case K.colon:return":";case K.doubleColon:return"::";case K.dot:return".";case K.question:return"?";case K.questionDot:return"?.";case K.arrow:return"=>";case K.template:return"template";case K.ellipsis:return"...";case K.backQuote:return"`";case K.dollarBraceL:return"${";case K.at:return"@";case K.hash:return"#";case K.eq:return"=";case K.assign:return"_=";case K.preIncDec:return"++/--";case K.postIncDec:return"++/--";case K.bang:return"!";case K.tilde:return"~";case K.pipeline:return"|>";case K.nullishCoalescing:return"??";case K.logicalOR:return"||";case K.logicalAND:return"&&";case K.bitwiseOR:return"|";case K.bitwiseXOR:return"^";case K.bitwiseAND:return"&";case K.equality:return"==/!=";case K.lessThan:return"<";case K.greaterThan:return">";case K.relationalOrEqual:return"<=/>=";case K.bitShiftL:return"<<";case K.bitShiftR:return">>/>>>";case K.plus:return"+";case K.minus:return"-";case K.modulo:return"%";case K.star:return"*";case K.slash:return"/";case K.exponent:return"**";case K.jsxName:return"jsxName";case K.jsxText:return"jsxText";case K.jsxEmptyText:return"jsxEmptyText";case K.jsxTagStart:return"jsxTagStart";case K.jsxTagEnd:return"jsxTagEnd";case K.typeParameterStart:return"typeParameterStart";case K.nonNullAssertion:return"nonNullAssertion";case K._break:return"break";case K._case:return"case";case K._catch:return"catch";case K._continue:return"continue";case K._debugger:return"debugger";case K._default:return"default";case K._do:return"do";case K._else:return"else";case K._finally:return"finally";case K._for:return"for";case K._function:return"function";case K._if:return"if";case K._return:return"return";case K._switch:return"switch";case K._throw:return"throw";case K._try:return"try";case K._var:return"var";case K._let:return"let";case K._const:return"const";case K._while:return"while";case K._with:return"with";case K._new:return"new";case K._this:return"this";case K._super:return"super";case K._class:return"class";case K._extends:return"extends";case K._export:return"export";case K._import:return"import";case K._yield:return"yield";case K._null:return"null";case K._true:return"true";case K._false:return"false";case K._in:return"in";case K._instanceof:return"instanceof";case K._typeof:return"typeof";case K._void:return"void";case K._delete:return"delete";case K._async:return"async";case K._get:return"get";case K._set:return"set";case K._declare:return"declare";case K._readonly:return"readonly";case K._abstract:return"abstract";case K._static:return"static";case K._public:return"public";case K._private:return"private";case K._protected:return"protected";case K._override:return"override";case K._as:return"as";case K._enum:return"enum";case K._type:return"type";case K._implements:return"implements";default:return""}}Hr.formatTokenType=Zd});var Gr=Z(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});var em=It(),tm=we(),Ia=class{constructor(t,s,i){this.startTokenIndex=t,this.endTokenIndex=s,this.isFunctionScope=i}};Xi.Scope=Ia;var Wr=class{constructor(t,s,i,r,a,u,d,v,g,O,p,f,T){this.potentialArrowAt=t,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=i,this.tokensLength=r,this.scopesLength=a,this.pos=u,this.type=d,this.contextualKeyword=v,this.start=g,this.end=O,this.isType=p,this.scopeDepth=f,this.error=T}};Xi.StateSnapshot=Wr;var Ea=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=tm.TokenType.eof}__init8(){this.contextualKeyword=em.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new Wr(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};Xi.default=Ea});var Zt=Z(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});var ps;(function(e){e[e.backSpace=8]="backSpace";let s=10;e[e.lineFeed=s]="lineFeed";let i=9;e[e.tab=i]="tab";let r=13;e[e.carriageReturn=r]="carriageReturn";let a=14;e[e.shiftOut=a]="shiftOut";let u=32;e[e.space=u]="space";let d=33;e[e.exclamationMark=d]="exclamationMark";let v=34;e[e.quotationMark=v]="quotationMark";let g=35;e[e.numberSign=g]="numberSign";let O=36;e[e.dollarSign=O]="dollarSign";let p=37;e[e.percentSign=p]="percentSign";let f=38;e[e.ampersand=f]="ampersand";let T=39;e[e.apostrophe=T]="apostrophe";let x=40;e[e.leftParenthesis=x]="leftParenthesis";let w=41;e[e.rightParenthesis=w]="rightParenthesis";let S=42;e[e.asterisk=S]="asterisk";let A=43;e[e.plusSign=A]="plusSign";let q=44;e[e.comma=q]="comma";let M=45;e[e.dash=M]="dash";let c=46;e[e.dot=c]="dot";let R=47;e[e.slash=R]="slash";let W=48;e[e.digit0=W]="digit0";let Y=49;e[e.digit1=Y]="digit1";let ie=50;e[e.digit2=ie]="digit2";let he=51;e[e.digit3=he]="digit3";let ae=52;e[e.digit4=ae]="digit4";let We=53;e[e.digit5=We]="digit5";let qe=54;e[e.digit6=qe]="digit6";let Ft=55;e[e.digit7=Ft]="digit7";let Tt=56;e[e.digit8=Tt]="digit8";let xt=57;e[e.digit9=xt]="digit9";let At=58;e[e.colon=At]="colon";let it=59;e[e.semicolon=it]="semicolon";let rt=60;e[e.lessThan=rt]="lessThan";let wt=61;e[e.equalsTo=wt]="equalsTo";let ht=62;e[e.greaterThan=ht]="greaterThan";let St=63;e[e.questionMark=St]="questionMark";let Kt=64;e[e.atSign=Kt]="atSign";let Pt=65;e[e.uppercaseA=Pt]="uppercaseA";let qt=66;e[e.uppercaseB=qt]="uppercaseB";let yn=67;e[e.uppercaseC=yn]="uppercaseC";let V=68;e[e.uppercaseD=V]="uppercaseD";let G=69;e[e.uppercaseE=G]="uppercaseE";let J=70;e[e.uppercaseF=J]="uppercaseF";let re=71;e[e.uppercaseG=re]="uppercaseG";let xe=72;e[e.uppercaseH=xe]="uppercaseH";let fe=73;e[e.uppercaseI=fe]="uppercaseI";let Ae=74;e[e.uppercaseJ=Ae]="uppercaseJ";let Pe=75;e[e.uppercaseK=Pe]="uppercaseK";let Oe=76;e[e.uppercaseL=Oe]="uppercaseL";let Xe=77;e[e.uppercaseM=Xe]="uppercaseM";let Ge=78;e[e.uppercaseN=Ge]="uppercaseN";let Ye=79;e[e.uppercaseO=Ye]="uppercaseO";let ct=80;e[e.uppercaseP=ct]="uppercaseP";let yt=81;e[e.uppercaseQ=yt]="uppercaseQ";let gt=82;e[e.uppercaseR=gt]="uppercaseR";let Ut=83;e[e.uppercaseS=Ut]="uppercaseS";let et=84;e[e.uppercaseT=et]="uppercaseT";let bn=85;e[e.uppercaseU=bn]="uppercaseU";let Bn=86;e[e.uppercaseV=Bn]="uppercaseV";let is=87;e[e.uppercaseW=is]="uppercaseW";let Ue=88;e[e.uppercaseX=Ue]="uppercaseX";let kt=89;e[e.uppercaseY=kt]="uppercaseY";let Je=90;e[e.uppercaseZ=Je]="uppercaseZ";let Cn=91;e[e.leftSquareBracket=Cn]="leftSquareBracket";let kn=92;e[e.backslash=kn]="backslash";let te=93;e[e.rightSquareBracket=te]="rightSquareBracket";let wn=94;e[e.caret=wn]="caret";let bi=95;e[e.underscore=bi]="underscore";let Ci=96;e[e.graveAccent=Ci]="graveAccent";let Vn=97;e[e.lowercaseA=Vn]="lowercaseA";let Cs=98;e[e.lowercaseB=Cs]="lowercaseB";let Bs=99;e[e.lowercaseC=Bs]="lowercaseC";let wi=100;e[e.lowercaseD=wi]="lowercaseD";let rs=101;e[e.lowercaseE=rs]="lowercaseE";let Nt=102;e[e.lowercaseF=Nt]="lowercaseF";let Rt=103;e[e.lowercaseG=Rt]="lowercaseG";let He=104;e[e.lowercaseH=He]="lowercaseH";let Sn=105;e[e.lowercaseI=Sn]="lowercaseI";let me=106;e[e.lowercaseJ=me]="lowercaseJ";let Vs=107;e[e.lowercaseK=Vs]="lowercaseK";let ws=108;e[e.lowercaseL=ws]="lowercaseL";let Si=109;e[e.lowercaseM=Si]="lowercaseM";let os=110;e[e.lowercaseN=os]="lowercaseN";let on=111;e[e.lowercaseO=on]="lowercaseO";let Ii=112;e[e.lowercaseP=Ii]="lowercaseP";let jn=113;e[e.lowercaseQ=jn]="lowercaseQ";let $n=114;e[e.lowercaseR=$n]="lowercaseR";let js=115;e[e.lowercaseS=js]="lowercaseS";let Ei=116;e[e.lowercaseT=Ei]="lowercaseT";let $s=117;e[e.lowercaseU=$s]="lowercaseU";let Ks=118;e[e.lowercaseV=Ks]="lowercaseV";let qs=119;e[e.lowercaseW=qs]="lowercaseW";let Us=120;e[e.lowercaseX=Us]="lowercaseX";let Hs=121;e[e.lowercaseY=Hs]="lowercaseY";let Ai=122;e[e.lowercaseZ=Ai]="lowercaseZ";let Pi=123;e[e.leftCurlyBrace=Pi]="leftCurlyBrace";let Ni=124;e[e.verticalBar=Ni]="verticalBar";let Ri=125;e[e.rightCurlyBrace=Ri]="rightCurlyBrace";let Ws=126;e[e.tilde=Ws]="tilde";let Gs=160;e[e.nonBreakingSpace=Gs]="nonBreakingSpace";let zs=5760;e[e.oghamSpaceMark=zs]="oghamSpaceMark";let Xs=8232;e[e.lineSeparator=Xs]="lineSeparator";let Ys=8233;e[e.paragraphSeparator=Ys]="paragraphSeparator"})(ps||(zr.charCodes=ps={}));function nm(e){return e>=ps.digit0&&e<=ps.digit9||e>=ps.lowercaseA&&e<=ps.lowercaseF||e>=ps.uppercaseA&&e<=ps.uppercaseF}zr.isDigit=nm});var en=Z(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});function sm(e){return e&&e.__esModule?e:{default:e}}var im=Gr(),rm=sm(im),om=Zt();dt.isJSXEnabled;dt.isTypeScriptEnabled;dt.isFlowEnabled;dt.state;dt.input;dt.nextContextId;function am(){return dt.nextContextId++}dt.getNextContextId=am;function lm(e){if("pos"in e){let t=m1(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}dt.augmentError=lm;var Xr=class{constructor(t,s){this.line=t,this.column=s}};dt.Loc=Xr;function m1(e){let t=1,s=1;for(let i=0;i<e;i++)dt.input.charCodeAt(i)===om.charCodes.lineFeed?(t++,s=1):s++;return new Xr(t,s)}dt.locationForIndex=m1;function cm(e,t,s,i){dt.input=e,dt.state=new rm.default,dt.nextContextId=1,dt.isJSXEnabled=t,dt.isTypeScriptEnabled=s,dt.isFlowEnabled=i}dt.initParser=cm});var fs=Z(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});var hs=bt(),Rs=we(),Yr=Zt(),tn=en();function um(e){return tn.state.contextualKeyword===e}nn.isContextual=um;function pm(e){let t=hs.lookaheadTypeAndKeyword.call(void 0);return t.type===Rs.TokenType.name&&t.contextualKeyword===e}nn.isLookaheadContextual=pm;function T1(e){return tn.state.contextualKeyword===e&&hs.eat.call(void 0,Rs.TokenType.name)}nn.eatContextual=T1;function hm(e){T1(e)||Jr()}nn.expectContextual=hm;function y1(){return hs.match.call(void 0,Rs.TokenType.eof)||hs.match.call(void 0,Rs.TokenType.braceR)||k1()}nn.canInsertSemicolon=y1;function k1(){let e=tn.state.tokens[tn.state.tokens.length-1],t=e?e.end:0;for(let s=t;s<tn.state.start;s++){let i=tn.input.charCodeAt(s);if(i===Yr.charCodes.lineFeed||i===Yr.charCodes.carriageReturn||i===8232||i===8233)return!0}return!1}nn.hasPrecedingLineBreak=k1;function fm(){let e=hs.nextTokenStart.call(void 0);for(let t=tn.state.end;t<e;t++){let s=tn.input.charCodeAt(t);if(s===Yr.charCodes.lineFeed||s===Yr.charCodes.carriageReturn||s===8232||s===8233)return!0}return!1}nn.hasFollowingLineBreak=fm;function v1(){return hs.eat.call(void 0,Rs.TokenType.semi)||y1()}nn.isLineTerminator=v1;function dm(){v1()||Jr('Unexpected token, expected ";"')}nn.semicolon=dm;function mm(e){hs.eat.call(void 0,e)||Jr(`Unexpected token, expected "${Rs.formatTokenType.call(void 0,e)}"`)}nn.expect=mm;function Jr(e="Unexpected token",t=tn.state.start){if(tn.state.error)return;let s=new SyntaxError(e);s.pos=t,tn.state.error=s,tn.state.pos=tn.input.length,hs.finishToken.call(void 0,Rs.TokenType.eof)}nn.unexpected=Jr});var Pa=Z(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});var Aa=Zt(),Tm=[9,11,12,Aa.charCodes.space,Aa.charCodes.nonBreakingSpace,Aa.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Ls.WHITESPACE_CHARS=Tm;var ym=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Ls.skipWhiteSpace=ym;var km=new Uint8Array(65536);Ls.IS_WHITESPACE=km;for(let e of Ls.WHITESPACE_CHARS)Ls.IS_WHITESPACE[e]=1});var ci=Z(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});var x1=Zt(),vm=Pa();function xm(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var gm=new Uint8Array(65536);vn.IS_IDENTIFIER_CHAR=gm;for(let e=0;e<128;e++)vn.IS_IDENTIFIER_CHAR[e]=xm(e)?1:0;for(let e=128;e<65536;e++)vn.IS_IDENTIFIER_CHAR[e]=1;for(let e of vm.WHITESPACE_CHARS)vn.IS_IDENTIFIER_CHAR[e]=0;vn.IS_IDENTIFIER_CHAR[8232]=0;vn.IS_IDENTIFIER_CHAR[8233]=0;var _m=vn.IS_IDENTIFIER_CHAR.slice();vn.IS_IDENTIFIER_START=_m;for(let e=x1.charCodes.digit0;e<=x1.charCodes.digit9;e++)vn.IS_IDENTIFIER_START[e]=0});var g1=Z(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});var _e=It(),Se=we(),bm=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(Se.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(Se.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(Se.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(Se.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(Se.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(Se.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(Se.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,_e.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,_e.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(Se.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,_e.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(Se.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);Na.READ_WORD_TREE=bm});var w1=Z(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});var xn=en(),ds=Zt(),_1=ci(),Ra=bt(),b1=g1(),C1=we();function Cm(){let e=0,t=0,s=xn.state.pos;for(;s<xn.input.length&&(t=xn.input.charCodeAt(s),!(t<ds.charCodes.lowercaseA||t>ds.charCodes.lowercaseZ));){let r=b1.READ_WORD_TREE[e+(t-ds.charCodes.lowercaseA)+1];if(r===-1)break;e=r,s++}let i=b1.READ_WORD_TREE[e];if(i>-1&&!_1.IS_IDENTIFIER_CHAR[t]){xn.state.pos=s,i&1?Ra.finishToken.call(void 0,i>>>1):Ra.finishToken.call(void 0,C1.TokenType.name,i>>>1);return}for(;s<xn.input.length;){let r=xn.input.charCodeAt(s);if(_1.IS_IDENTIFIER_CHAR[r])s++;else if(r===ds.charCodes.backslash){if(s+=2,xn.input.charCodeAt(s)===ds.charCodes.leftCurlyBrace){for(;s<xn.input.length&&xn.input.charCodeAt(s)!==ds.charCodes.rightCurlyBrace;)s++;s++}}else if(r===ds.charCodes.atSign&&xn.input.charCodeAt(s+1)===ds.charCodes.atSign)s+=2;else break}xn.state.pos=s,Ra.finishToken.call(void 0,C1.TokenType.name)}La.default=Cm});var bt=Z(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});function wm(e){return e&&e.__esModule?e:{default:e}}var b=en(),ui=fs(),F=Zt(),I1=ci(),Da=Pa(),Sm=It(),Im=w1(),Em=wm(Im),ne=we(),at;(function(e){e[e.Access=0]="Access";let s=1;e[e.ExportAccess=s]="ExportAccess";let i=s+1;e[e.TopLevelDeclaration=i]="TopLevelDeclaration";let r=i+1;e[e.FunctionScopedDeclaration=r]="FunctionScopedDeclaration";let a=r+1;e[e.BlockScopedDeclaration=a]="BlockScopedDeclaration";let u=a+1;e[e.ObjectShorthandTopLevelDeclaration=u]="ObjectShorthandTopLevelDeclaration";let d=u+1;e[e.ObjectShorthandFunctionScopedDeclaration=d]="ObjectShorthandFunctionScopedDeclaration";let v=d+1;e[e.ObjectShorthandBlockScopedDeclaration=v]="ObjectShorthandBlockScopedDeclaration";let g=v+1;e[e.ObjectShorthand=g]="ObjectShorthand";let O=g+1;e[e.ImportDeclaration=O]="ImportDeclaration";let p=O+1;e[e.ObjectKey=p]="ObjectKey";let f=p+1;e[e.ImportAccess=f]="ImportAccess"})(at||(Ve.IdentifierRole=at={}));var S1;(function(e){e[e.NoChildren=0]="NoChildren";let s=1;e[e.OneChild=s]="OneChild";let i=s+1;e[e.StaticChildren=i]="StaticChildren";let r=i+1;e[e.KeyAfterPropSpread=r]="KeyAfterPropSpread"})(S1||(Ve.JSXRole=S1={}));function Am(e){let t=e.identifierRole;return t===at.TopLevelDeclaration||t===at.FunctionScopedDeclaration||t===at.BlockScopedDeclaration||t===at.ObjectShorthandTopLevelDeclaration||t===at.ObjectShorthandFunctionScopedDeclaration||t===at.ObjectShorthandBlockScopedDeclaration}Ve.isDeclaration=Am;function Pm(e){let t=e.identifierRole;return t===at.FunctionScopedDeclaration||t===at.BlockScopedDeclaration||t===at.ObjectShorthandFunctionScopedDeclaration||t===at.ObjectShorthandBlockScopedDeclaration}Ve.isNonTopLevelDeclaration=Pm;function Nm(e){let t=e.identifierRole;return t===at.TopLevelDeclaration||t===at.ObjectShorthandTopLevelDeclaration||t===at.ImportDeclaration}Ve.isTopLevelDeclaration=Nm;function Rm(e){let t=e.identifierRole;return t===at.TopLevelDeclaration||t===at.BlockScopedDeclaration||t===at.ObjectShorthandTopLevelDeclaration||t===at.ObjectShorthandBlockScopedDeclaration}Ve.isBlockScopedDeclaration=Rm;function Lm(e){let t=e.identifierRole;return t===at.FunctionScopedDeclaration||t===at.ObjectShorthandFunctionScopedDeclaration}Ve.isFunctionScopedDeclaration=Lm;function Om(e){return e.identifierRole===at.ObjectShorthandTopLevelDeclaration||e.identifierRole===at.ObjectShorthandBlockScopedDeclaration||e.identifierRole===at.ObjectShorthandFunctionScopedDeclaration}Ve.isObjectShorthandDeclaration=Om;var Yi=class{constructor(){this.type=b.state.type,this.contextualKeyword=b.state.contextualKeyword,this.start=b.state.start,this.end=b.state.end,this.scopeDepth=b.state.scopeDepth,this.isType=b.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};Ve.Token=Yi;function Zr(){b.state.tokens.push(new Yi),N1()}Ve.next=Zr;function Dm(){b.state.tokens.push(new Yi),b.state.start=b.state.pos,iT()}Ve.nextTemplateToken=Dm;function Mm(){b.state.type===ne.TokenType.assign&&--b.state.pos,tT()}Ve.retokenizeSlashAsRegex=Mm;function Fm(e){for(let s=b.state.tokens.length-e;s<b.state.tokens.length;s++)b.state.tokens[s].isType=!0;let t=b.state.isType;return b.state.isType=!0,t}Ve.pushTypeContext=Fm;function Bm(e){b.state.isType=e}Ve.popTypeContext=Bm;function E1(e){return Ma(e)?(Zr(),!0):!1}Ve.eat=E1;function Vm(e){let t=b.state.isType;b.state.isType=!0,E1(e),b.state.isType=t}Ve.eatTypeToken=Vm;function Ma(e){return b.state.type===e}Ve.match=Ma;function jm(){let e=b.state.snapshot();Zr();let t=b.state.type;return b.state.restoreFromSnapshot(e),t}Ve.lookaheadType=jm;var Qr=class{constructor(t,s){this.type=t,this.contextualKeyword=s}};Ve.TypeAndKeyword=Qr;function $m(){let e=b.state.snapshot();Zr();let t=b.state.type,s=b.state.contextualKeyword;return b.state.restoreFromSnapshot(e),new Qr(t,s)}Ve.lookaheadTypeAndKeyword=$m;function A1(){return P1(b.state.pos)}Ve.nextTokenStart=A1;function P1(e){Da.skipWhiteSpace.lastIndex=e;let t=Da.skipWhiteSpace.exec(b.input);return e+t[0].length}Ve.nextTokenStartSince=P1;function Km(){return b.input.charCodeAt(A1())}Ve.lookaheadCharCode=Km;function N1(){if(L1(),b.state.start=b.state.pos,b.state.pos>=b.input.length){let e=b.state.tokens;e.length>=2&&e[e.length-1].start>=b.input.length&&e[e.length-2].start>=b.input.length&&ui.unexpected.call(void 0,"Unexpectedly reached the end of input."),je(ne.TokenType.eof);return}qm(b.input.charCodeAt(b.state.pos))}Ve.nextToken=N1;function qm(e){I1.IS_IDENTIFIER_START[e]||e===F.charCodes.backslash||e===F.charCodes.atSign&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.atSign?Em.default.call(void 0):D1(e)}function Um(){for(;b.input.charCodeAt(b.state.pos)!==F.charCodes.asterisk||b.input.charCodeAt(b.state.pos+1)!==F.charCodes.slash;)if(b.state.pos++,b.state.pos>b.input.length){ui.unexpected.call(void 0,"Unterminated comment",b.state.pos-2);return}b.state.pos+=2}function R1(e){let t=b.input.charCodeAt(b.state.pos+=e);if(b.state.pos<b.input.length)for(;t!==F.charCodes.lineFeed&&t!==F.charCodes.carriageReturn&&t!==F.charCodes.lineSeparator&&t!==F.charCodes.paragraphSeparator&&++b.state.pos<b.input.length;)t=b.input.charCodeAt(b.state.pos)}Ve.skipLineComment=R1;function L1(){for(;b.state.pos<b.input.length;){let e=b.input.charCodeAt(b.state.pos);switch(e){case F.charCodes.carriageReturn:b.input.charCodeAt(b.state.pos+1)===F.charCodes.lineFeed&&++b.state.pos;case F.charCodes.lineFeed:case F.charCodes.lineSeparator:case F.charCodes.paragraphSeparator:++b.state.pos;break;case F.charCodes.slash:switch(b.input.charCodeAt(b.state.pos+1)){case F.charCodes.asterisk:b.state.pos+=2,Um();break;case F.charCodes.slash:R1(2);break;default:return}break;default:if(Da.IS_WHITESPACE[e])++b.state.pos;else return}}}Ve.skipSpace=L1;function je(e,t=Sm.ContextualKeyword.NONE){b.state.end=b.state.pos,b.state.type=e,b.state.contextualKeyword=t}Ve.finishToken=je;function Hm(){let e=b.input.charCodeAt(b.state.pos+1);if(e>=F.charCodes.digit0&&e<=F.charCodes.digit9){M1(!0);return}e===F.charCodes.dot&&b.input.charCodeAt(b.state.pos+2)===F.charCodes.dot?(b.state.pos+=3,je(ne.TokenType.ellipsis)):(++b.state.pos,je(ne.TokenType.dot))}function Wm(){b.input.charCodeAt(b.state.pos+1)===F.charCodes.equalsTo?Be(ne.TokenType.assign,2):Be(ne.TokenType.slash,1)}function Gm(e){let t=e===F.charCodes.asterisk?ne.TokenType.star:ne.TokenType.modulo,s=1,i=b.input.charCodeAt(b.state.pos+1);e===F.charCodes.asterisk&&i===F.charCodes.asterisk&&(s++,i=b.input.charCodeAt(b.state.pos+2),t=ne.TokenType.exponent),i===F.charCodes.equalsTo&&b.input.charCodeAt(b.state.pos+2)!==F.charCodes.greaterThan&&(s++,t=ne.TokenType.assign),Be(t,s)}function zm(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===e){b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo?Be(ne.TokenType.assign,3):Be(e===F.charCodes.verticalBar?ne.TokenType.logicalOR:ne.TokenType.logicalAND,2);return}if(e===F.charCodes.verticalBar){if(t===F.charCodes.greaterThan){Be(ne.TokenType.pipeline,2);return}else if(t===F.charCodes.rightCurlyBrace&&b.isFlowEnabled){Be(ne.TokenType.braceBarR,2);return}}if(t===F.charCodes.equalsTo){Be(ne.TokenType.assign,2);return}Be(e===F.charCodes.verticalBar?ne.TokenType.bitwiseOR:ne.TokenType.bitwiseAND,1)}function Xm(){b.input.charCodeAt(b.state.pos+1)===F.charCodes.equalsTo?Be(ne.TokenType.assign,2):Be(ne.TokenType.bitwiseXOR,1)}function Ym(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===e){Be(ne.TokenType.preIncDec,2);return}t===F.charCodes.equalsTo?Be(ne.TokenType.assign,2):e===F.charCodes.plusSign?Be(ne.TokenType.plus,1):Be(ne.TokenType.minus,1)}function Jm(){let e=b.input.charCodeAt(b.state.pos+1);if(e===F.charCodes.lessThan){if(b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo){Be(ne.TokenType.assign,3);return}b.state.isType?Be(ne.TokenType.lessThan,1):Be(ne.TokenType.bitShiftL,2);return}e===F.charCodes.equalsTo?Be(ne.TokenType.relationalOrEqual,2):Be(ne.TokenType.lessThan,1)}function O1(){if(b.state.isType){Be(ne.TokenType.greaterThan,1);return}let e=b.input.charCodeAt(b.state.pos+1);if(e===F.charCodes.greaterThan){let t=b.input.charCodeAt(b.state.pos+2)===F.charCodes.greaterThan?3:2;if(b.input.charCodeAt(b.state.pos+t)===F.charCodes.equalsTo){Be(ne.TokenType.assign,t+1);return}Be(ne.TokenType.bitShiftR,t);return}e===F.charCodes.equalsTo?Be(ne.TokenType.relationalOrEqual,2):Be(ne.TokenType.greaterThan,1)}function Qm(){b.state.type===ne.TokenType.greaterThan&&(b.state.pos-=1,O1())}Ve.rescan_gt=Qm;function Zm(e){let t=b.input.charCodeAt(b.state.pos+1);if(t===F.charCodes.equalsTo){Be(ne.TokenType.equality,b.input.charCodeAt(b.state.pos+2)===F.charCodes.equalsTo?3:2);return}if(e===F.charCodes.equalsTo&&t===F.charCodes.greaterThan){b.state.pos+=2,je(ne.TokenType.arrow);return}Be(e===F.charCodes.equalsTo?ne.TokenType.eq:ne.TokenType.bang,1)}function eT(){let e=b.input.charCodeAt(b.state.pos+1),t=b.input.charCodeAt(b.state.pos+2);e===F.charCodes.questionMark&&!(b.isFlowEnabled&&b.state.isType)?t===F.charCodes.equalsTo?Be(ne.TokenType.assign,3):Be(ne.TokenType.nullishCoalescing,2):e===F.charCodes.dot&&!(t>=F.charCodes.digit0&&t<=F.charCodes.digit9)?(b.state.pos+=2,je(ne.TokenType.questionDot)):(++b.state.pos,je(ne.TokenType.question))}function D1(e){switch(e){case F.charCodes.numberSign:++b.state.pos,je(ne.TokenType.hash);return;case F.charCodes.dot:Hm();return;case F.charCodes.leftParenthesis:++b.state.pos,je(ne.TokenType.parenL);return;case F.charCodes.rightParenthesis:++b.state.pos,je(ne.TokenType.parenR);return;case F.charCodes.semicolon:++b.state.pos,je(ne.TokenType.semi);return;case F.charCodes.comma:++b.state.pos,je(ne.TokenType.comma);return;case F.charCodes.leftSquareBracket:++b.state.pos,je(ne.TokenType.bracketL);return;case F.charCodes.rightSquareBracket:++b.state.pos,je(ne.TokenType.bracketR);return;case F.charCodes.leftCurlyBrace:b.isFlowEnabled&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.verticalBar?Be(ne.TokenType.braceBarL,2):(++b.state.pos,je(ne.TokenType.braceL));return;case F.charCodes.rightCurlyBrace:++b.state.pos,je(ne.TokenType.braceR);return;case F.charCodes.colon:b.input.charCodeAt(b.state.pos+1)===F.charCodes.colon?Be(ne.TokenType.doubleColon,2):(++b.state.pos,je(ne.TokenType.colon));return;case F.charCodes.questionMark:eT();return;case F.charCodes.atSign:++b.state.pos,je(ne.TokenType.at);return;case F.charCodes.graveAccent:++b.state.pos,je(ne.TokenType.backQuote);return;case F.charCodes.digit0:{let t=b.input.charCodeAt(b.state.pos+1);if(t===F.charCodes.lowercaseX||t===F.charCodes.uppercaseX||t===F.charCodes.lowercaseO||t===F.charCodes.uppercaseO||t===F.charCodes.lowercaseB||t===F.charCodes.uppercaseB){nT();return}}case F.charCodes.digit1:case F.charCodes.digit2:case F.charCodes.digit3:case F.charCodes.digit4:case F.charCodes.digit5:case F.charCodes.digit6:case F.charCodes.digit7:case F.charCodes.digit8:case F.charCodes.digit9:M1(!1);return;case F.charCodes.quotationMark:case F.charCodes.apostrophe:sT(e);return;case F.charCodes.slash:Wm();return;case F.charCodes.percentSign:case F.charCodes.asterisk:Gm(e);return;case F.charCodes.verticalBar:case F.charCodes.ampersand:zm(e);return;case F.charCodes.caret:Xm();return;case F.charCodes.plusSign:case F.charCodes.dash:Ym(e);return;case F.charCodes.lessThan:Jm();return;case F.charCodes.greaterThan:O1();return;case F.charCodes.equalsTo:case F.charCodes.exclamationMark:Zm(e);return;case F.charCodes.tilde:Be(ne.TokenType.tilde,1);return;default:break}ui.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,b.state.pos)}Ve.getTokenFromCode=D1;function Be(e,t){b.state.pos+=t,je(e)}function tT(){let e=b.state.pos,t=!1,s=!1;for(;;){if(b.state.pos>=b.input.length){ui.unexpected.call(void 0,"Unterminated regular expression",e);return}let i=b.input.charCodeAt(b.state.pos);if(t)t=!1;else{if(i===F.charCodes.leftSquareBracket)s=!0;else if(i===F.charCodes.rightSquareBracket&&s)s=!1;else if(i===F.charCodes.slash&&!s)break;t=i===F.charCodes.backslash}++b.state.pos}++b.state.pos,F1(),je(ne.TokenType.regexp)}function Oa(){for(;;){let e=b.input.charCodeAt(b.state.pos);if(e>=F.charCodes.digit0&&e<=F.charCodes.digit9||e===F.charCodes.underscore)b.state.pos++;else break}}function nT(){for(b.state.pos+=2;;){let t=b.input.charCodeAt(b.state.pos);if(t>=F.charCodes.digit0&&t<=F.charCodes.digit9||t>=F.charCodes.lowercaseA&&t<=F.charCodes.lowercaseF||t>=F.charCodes.uppercaseA&&t<=F.charCodes.uppercaseF||t===F.charCodes.underscore)b.state.pos++;else break}b.input.charCodeAt(b.state.pos)===F.charCodes.lowercaseN?(++b.state.pos,je(ne.TokenType.bigint)):je(ne.TokenType.num)}function M1(e){let t=!1,s=!1;e||Oa();let i=b.input.charCodeAt(b.state.pos);if(i===F.charCodes.dot&&(++b.state.pos,Oa(),i=b.input.charCodeAt(b.state.pos)),(i===F.charCodes.uppercaseE||i===F.charCodes.lowercaseE)&&(i=b.input.charCodeAt(++b.state.pos),(i===F.charCodes.plusSign||i===F.charCodes.dash)&&++b.state.pos,Oa(),i=b.input.charCodeAt(b.state.pos)),i===F.charCodes.lowercaseN?(++b.state.pos,t=!0):i===F.charCodes.lowercaseM&&(++b.state.pos,s=!0),t){je(ne.TokenType.bigint);return}if(s){je(ne.TokenType.decimal);return}je(ne.TokenType.num)}function sT(e){for(b.state.pos++;;){if(b.state.pos>=b.input.length){ui.unexpected.call(void 0,"Unterminated string constant");return}let t=b.input.charCodeAt(b.state.pos);if(t===F.charCodes.backslash)b.state.pos++;else if(t===e)break;b.state.pos++}b.state.pos++,je(ne.TokenType.string)}function iT(){for(;;){if(b.state.pos>=b.input.length){ui.unexpected.call(void 0,"Unterminated template");return}let e=b.input.charCodeAt(b.state.pos);if(e===F.charCodes.graveAccent||e===F.charCodes.dollarSign&&b.input.charCodeAt(b.state.pos+1)===F.charCodes.leftCurlyBrace){if(b.state.pos===b.state.start&&Ma(ne.TokenType.template))if(e===F.charCodes.dollarSign){b.state.pos+=2,je(ne.TokenType.dollarBraceL);return}else{++b.state.pos,je(ne.TokenType.backQuote);return}je(ne.TokenType.template);return}e===F.charCodes.backslash&&b.state.pos++,b.state.pos++}}function F1(){for(;b.state.pos<b.input.length;){let e=b.input.charCodeAt(b.state.pos);if(I1.IS_IDENTIFIER_CHAR[e])b.state.pos++;else if(e===F.charCodes.backslash){if(b.state.pos+=2,b.input.charCodeAt(b.state.pos)===F.charCodes.leftCurlyBrace){for(;b.state.pos<b.input.length&&b.input.charCodeAt(b.state.pos)!==F.charCodes.rightCurlyBrace;)b.state.pos++;b.state.pos++}}else break}}Ve.skipWord=F1});var Ji=Z(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});var B1=we();function rT(e,t=e.currentIndex()){let s=t+1;if(eo(e,s)){let i=e.identifierNameAtIndex(t);return{isType:!1,leftName:i,rightName:i,endIndex:s}}if(s++,eo(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};if(s++,eo(e,s))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:s};if(s++,eo(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};throw new Error(`Unexpected import/export specifier at ${t}`)}Fa.default=rT;function eo(e,t){let s=e.tokens[t];return s.type===B1.TokenType.braceR||s.type===B1.TokenType.comma}});var V1=Z(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var ja=Z(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});function oT(e){let[t,s]=j1(e.jsxPragma||"React.createElement"),[i,r]=j1(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:s,fragmentBase:i,fragmentSuffix:r}}Va.default=oT;function j1(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var hn=Z(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});var $a=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};Ka.default=$a});var Ha=Z(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});function Ua(e){return e&&e.__esModule?e:{default:e}}var aT=V1(),lT=Ua(aT),to=bt(),Le=we(),Rn=Zt(),cT=ja(),uT=Ua(cT),pT=hn(),hT=Ua(pT),qa=class e extends hT.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,s,i,r,a){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.nameManager=r,this.options=a,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=uT.default.call(void 0,a),this.isAutomaticRuntime=a.jsxRuntime==="automatic",this.jsxImportSource=a.jsxImportSource||"react"}process(){return this.tokens.matches1(Le.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[s,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${i} = require("${s}");`;else{let{createElement:s,...i}=this.esmAutomaticImportNameResolutions;s&&(t+=`import {createElement as ${s}} from "${this.jsxImportSource}";`);let r=Object.entries(i).map(([a,u])=>`${a} as ${u}`).join(", ");if(r){let a=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${r}} from "${a}";`}}return t}processJSXTag(){let{jsxRole:t,start:s}=this.tokens.currentToken(),i=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&t!==to.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(i,t):this.transformTagToCreateElement(i)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let s=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<s.length;)s[this.lastIndex]===` +`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,s){let i=s===to.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(i));let r=null;if(this.tokens.matches1(Le.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(s);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),r=this.processProps(!0),this.tokens.matches2(Le.TokenType.slash,Le.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(Le.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(s);else throw new Error("Expected either /> or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(r===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${i}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(Le.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(Le.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(Le.TokenType.slash,Le.TokenType.jsxTagEnd))if(this.tokens.matches1(Le.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(Le.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,s){let i=this.claimAutoImportedName(t,s);return this.importProcessor?`${i}.call(void 0, `:`${i}(`}claimAutoImportedName(t,s){if(this.importProcessor){let i=this.jsxImportSource+s;return this.cjsAutomaticModuleNameResolutions[i]||(this.cjsAutomaticModuleNameResolutions[i]=this.importProcessor.getFreeIdentifierForPath(i)),`${this.cjsAutomaticModuleNameResolutions[i]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,Le.TokenType.jsxName,Le.TokenType.jsxName)&&!this.tokens.matches2AtIndex(t-1,Le.TokenType.greaterThan,Le.TokenType.jsxName)&&!this.tokens.matches1AtIndex(t,Le.TokenType.braceL)&&!this.tokens.matches1AtIndex(t,Le.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,Le.TokenType.slash,Le.TokenType.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let s=this.tokens.identifierName();K1(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let s=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(Le.TokenType.jsxName)&&!this.tokens.matches1(Le.TokenType.braceL)){s?this.tokens.appendCode(`, {${s}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),s?this.tokens.appendCode(` ${s}}`):this.tokens.appendCode("}")}processProps(t){let s=null;for(;;){if(this.tokens.matches2(Le.TokenType.jsxName,Le.TokenType.eq)){let i=this.tokens.identifierName();if(t&&i==="key"){s!==null&&this.tokens.appendCode(s.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let r=this.tokens.snapshot();this.processPropValue(),s=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(r);continue}else this.processPropName(i),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(Le.TokenType.jsxName)){let i=this.tokens.identifierName();this.processPropName(i),this.tokens.appendCode(": true")}else if(this.tokens.matches1(Le.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return s}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(Le.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(Le.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),s=this.tokens.code.slice(t.start+1,t.end-1),i=$1(s),r=dT(s);this.tokens.replaceToken(r+i)}processAutomaticChildrenAndEndProps(t){t===to.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===to.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let s=t;for(;;){if(this.tokens.matches2(Le.TokenType.jsxTagStart,Le.TokenType.slash))return;let i=!1;if(this.tokens.matches1(Le.TokenType.braceL))this.tokens.matches2(Le.TokenType.braceL,Le.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(s?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),i=!0);else if(this.tokens.matches1(Le.TokenType.jsxTagStart))this.tokens.appendCode(s?", ":""),this.processJSXTag(),i=!0;else if(this.tokens.matches1(Le.TokenType.jsxText)||this.tokens.matches1(Le.TokenType.jsxEmptyText))i=this.processChildTextElement(s);else throw new Error("Unexpected token when processing JSX children.");i&&(s=!0)}}processChildTextElement(t){let s=this.tokens.currentToken(),i=this.tokens.code.slice(s.start,s.end),r=$1(i),a=fT(i);return a==='""'?(this.tokens.replaceToken(r),!1):(this.tokens.replaceToken(`${t?", ":""}${a}${r}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};no.default=qa;function K1(e){let t=e.charCodeAt(0);return t>=Rn.charCodes.lowercaseA&&t<=Rn.charCodes.lowercaseZ}no.startsWithLowerCase=K1;function fT(e){let t="",s="",i=!1,r=!1;for(let a=0;a<e.length;a++){let u=e[a];if(u===" "||u===" "||u==="\r")i||(s+=u);else if(u===` +`)s="",i=!0;else{if(r&&i&&(t+=" "),t+=s,s="",u==="&"){let{entity:d,newI:v}=q1(e,a+1);a=v-1,t+=d}else t+=u;r=!0,i=!1}}return i||(t+=s),JSON.stringify(t)}function $1(e){let t=0,s=0;for(let i of e)i===` `?(t++,s=0):i===" "&&s++;return` -`.repeat(t)+" ".repeat(s)}function ey(e){let t="";for(let s=0;s<e.length;s++){let i=e[s];if(i===` +`.repeat(t)+" ".repeat(s)}function dT(e){let t="";for(let s=0;s<e.length;s++){let i=e[s];if(i===` `)if(/\s/.test(e[s+1]))for(t+=" ";s<e.length&&/\s/.test(e[s+1]);)s++;else t+=` -`;else if(i==="&"){let{entity:r,newI:a}=N1(e,s+1);t+=r,s=a-1}else t+=i}return JSON.stringify(t)}function N1(e,t){let s="",i=0,r,a=t;if(e[a]==="#"){let u=10;a++;let d;if(e[a]==="x")for(u=16,a++,d=a;a<e.length&&ny(e.charCodeAt(a));)a++;else for(d=a;a<e.length&&ty(e.charCodeAt(a));)a++;if(e[a]===";"){let y=e.slice(d,a);y&&(a++,r=String.fromCodePoint(parseInt(y,u)))}}else for(;a<e.length&&i++<10;){let u=e[a];if(a++,u===";"){r=zm.default.get(s);break}s+=u}return r?{entity:r,newI:a}:{entity:"&",newI:t}}function ty(e){return e>=An.charCodes.digit0&&e<=An.charCodes.digit9}function ny(e){return e>=An.charCodes.digit0&&e<=An.charCodes.digit9||e>=An.charCodes.lowercaseA&&e<=An.charCodes.lowercaseF||e>=An.charCodes.uppercaseA&&e<=An.charCodes.uppercaseF}});var Fa=Z(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});function sy(e){return e&&e.__esModule?e:{default:e}}var Qr=gt(),ci=Ce(),iy=Da(),ry=Pa(),oy=sy(ry);function ay(e,t){let s=oy.default.call(void 0,t),i=new Set;for(let r=0;r<e.tokens.length;r++){let a=e.tokens[r];if(a.type===ci.TokenType.name&&!a.isType&&(a.identifierRole===Qr.IdentifierRole.Access||a.identifierRole===Qr.IdentifierRole.ObjectShorthand||a.identifierRole===Qr.IdentifierRole.ExportAccess)&&!a.shadowsGlobal&&i.add(e.identifierNameForToken(a)),a.type===ci.TokenType.jsxTagStart&&i.add(s.base),a.type===ci.TokenType.jsxTagStart&&r+1<e.tokens.length&&e.tokens[r+1].type===ci.TokenType.jsxTagEnd&&(i.add(s.base),i.add(s.fragmentBase)),a.type===ci.TokenType.jsxName&&a.identifierRole===Qr.IdentifierRole.Access){let u=e.identifierNameForToken(a);(!iy.startsWithLowerCase.call(void 0,u)||e.tokens[r+1].type===ci.TokenType.dot)&&i.add(e.identifierNameForToken(a))}}return i}Ma.getNonTypeIdentifiers=ay});var R1=Z(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});function ly(e){return e&&e.__esModule?e:{default:e}}var cy=gt(),Zr=St(),me=Ce(),uy=Wi(),py=ly(uy),hy=Fa(),Ba=class e{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,s,i,r,a,u){this.nameManager=t,this.tokens=s,this.enableLegacyTypeScriptModuleInterop=i,this.options=r,this.isTypeScriptTransformEnabled=a,this.helperManager=u,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,me.TokenType._import)&&!this.tokens.matches3AtIndex(t,me.TokenType._import,me.TokenType.name,me.TokenType.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,me.TokenType._export)&&!this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=hy.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[t,s]of this.importInfoByPath.entries()){if(s.hasBareImport||s.hasStarExport||s.exportStarNames.length>0||s.namedExports.length>0)continue;[...s.defaultNames,...s.wildcardNames,...s.namedImports.map(({localName:r})=>r)].every(r=>this.isTypeName(r))&&this.importsToReplace.set(t,"")}}isTypeName(t){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(let[t,s]of this.importInfoByPath.entries()){let{defaultNames:i,wildcardNames:r,namedImports:a,namedExports:u,exportStarNames:d,hasStarExport:y}=s;if(i.length===0&&r.length===0&&a.length===0&&u.length===0&&d.length===0&&!y){this.importsToReplace.set(t,`require('${t}');`);continue}let g=this.getFreeIdentifierForPath(t),L;this.enableLegacyTypeScriptModuleInterop?L=g:L=r.length>0?r[0]:this.getFreeIdentifierForPath(t);let p=`var ${g} = require('${t}');`;if(r.length>0)for(let h of r){let T=this.enableLegacyTypeScriptModuleInterop?g:`${this.helperManager.getHelperName("interopRequireWildcard")}(${g})`;p+=` var ${h} = ${T};`}else d.length>0&&L!==g?p+=` var ${L} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${g});`:i.length>0&&L!==g&&(p+=` var ${L} = ${this.helperManager.getHelperName("interopRequireDefault")}(${g});`);for(let{importedName:h,localName:T}of u)p+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${g}, '${T}', '${h}');`;for(let h of d)p+=` exports.${h} = ${L};`;y&&(p+=` ${this.helperManager.getHelperName("createStarExport")}(${g});`),this.importsToReplace.set(t,p);for(let h of i)this.identifierReplacements.set(h,`${L}.default`);for(let{importedName:h,localName:T}of a)this.identifierReplacements.set(T,`${g}.${h}`)}}getFreeIdentifierForPath(t){let s=t.split("/"),r=s[s.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${r}`)}preprocessImportAtIndex(t){let s=[],i=[],r=[];if(t++,(this.tokens.matchesContextualAtIndex(t,Zr.ContextualKeyword._type)||this.tokens.matches1AtIndex(t,me.TokenType._typeof))&&!this.tokens.matches1AtIndex(t+1,me.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(t+1,Zr.ContextualKeyword._from)||this.tokens.matches1AtIndex(t,me.TokenType.parenL))return;if(this.tokens.matches1AtIndex(t,me.TokenType.name)&&(s.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,me.TokenType.comma)&&t++),this.tokens.matches1AtIndex(t,me.TokenType.star)&&(t+=2,i.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,me.TokenType.braceL)){let d=this.getNamedImports(t+1);t=d.newIndex;for(let y of d.namedImports)y.importedName==="default"?s.push(y.localName):r.push(y)}if(this.tokens.matchesContextualAtIndex(t,Zr.ContextualKeyword._from)&&t++,!this.tokens.matches1AtIndex(t,me.TokenType.string))throw new Error("Expected string token at the end of import statement.");let a=this.tokens.stringValueAtIndex(t),u=this.getImportInfo(a);u.defaultNames.push(...s),u.wildcardNames.push(...i),u.namedImports.push(...r),s.length===0&&i.length===0&&r.length===0&&(u.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType._var)||this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType._let)||this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType._function)||this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType._class)){let s=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(s,s)}else if(this.tokens.matches3AtIndex(t,me.TokenType._export,me.TokenType.name,me.TokenType._function)){let s=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(s,s)}else this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,me.TokenType._export,me.TokenType.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let s=0;for(let i=t+2;;i++)if(this.tokens.matches1AtIndex(i,me.TokenType.braceL)||this.tokens.matches1AtIndex(i,me.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(i,me.TokenType.bracketL))s++;else if(this.tokens.matches1AtIndex(i,me.TokenType.braceR)||this.tokens.matches1AtIndex(i,me.TokenType.bracketR))s--;else{if(s===0&&!this.tokens.matches1AtIndex(i,me.TokenType.name))break;if(this.tokens.matches1AtIndex(1,me.TokenType.eq)){let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");i=r-1}else{let r=this.tokens.tokens[i];if(cy.isDeclaration.call(void 0,r)){let a=this.tokens.identifierNameAtIndex(i);this.identifierReplacements.set(a,`exports.${a}`)}}}}preprocessNamedExportAtIndex(t){t+=2;let{newIndex:s,namedImports:i}=this.getNamedImports(t);if(t=s,this.tokens.matchesContextualAtIndex(t,Zr.ContextualKeyword._from))t++;else{for(let{importedName:u,localName:d}of i)this.addExportBinding(u,d);return}if(!this.tokens.matches1AtIndex(t,me.TokenType.string))throw new Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(t);this.getImportInfo(r).namedExports.push(...i)}preprocessExportStarAtIndex(t){let s=null;if(this.tokens.matches3AtIndex(t,me.TokenType._export,me.TokenType.star,me.TokenType._as)?(t+=3,s=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,me.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let i=this.tokens.stringValueAtIndex(t),r=this.getImportInfo(i);s!==null?r.exportStarNames.push(s):r.hasStarExport=!0}getNamedImports(t){let s=[];for(;;){if(this.tokens.matches1AtIndex(t,me.TokenType.braceR)){t++;break}let i=py.default.call(void 0,this.tokens,t);if(t=i.endIndex,i.isType||s.push({importedName:i.leftName,localName:i.rightName}),this.tokens.matches2AtIndex(t,me.TokenType.comma,me.TokenType.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,me.TokenType.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,me.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:s}}getImportInfo(t){let s=this.importInfoByPath.get(t);if(s)return s;let i={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,i),i}addExportBinding(t,s){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(s)}claimImportCode(t){let s=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),s||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){let s=this.exportBindingsByLocalName.get(t);return!s||s.length===0?null:s.map(i=>`exports.${i}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};Va.default=Ba});var O1=Z((eo,L1)=>{(function(e,t){typeof eo=="object"&&typeof L1<"u"?t(eo):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})(eo,function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class t{constructor(){this._indexes={__proto__:null},this.array=[]}}e.get=(s,i)=>s._indexes[i],e.put=(s,i)=>{let r=e.get(s,i);if(r!==void 0)return r;let{array:a,_indexes:u}=s;return u[i]=a.push(i)-1},e.pop=s=>{let{array:i,_indexes:r}=s;if(i.length===0)return;let a=i.pop();r[a]=void 0},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})})});var ja=Z((to,D1)=>{(function(e,t){typeof to=="object"&&typeof D1<"u"?t(to):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(to,function(e){"use strict";let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),a=new Uint8Array(128);for(let w=0;w<i.length;w++){let S=i.charCodeAt(w);r[w]=S,a[S]=w}let u=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(w){return Buffer.from(w.buffer,w.byteOffset,w.byteLength).toString()}}:{decode(w){let S="";for(let A=0;A<w.length;A++)S+=String.fromCharCode(w[A]);return S}};function d(w){let S=new Int32Array(5),A=[],U=0;do{let M=y(w,U),c=[],R=!0,W=0;S[0]=0;for(let Y=U;Y<M;Y++){let ie;Y=g(w,Y,S,0);let pe=S[0];pe<W&&(R=!1),W=pe,L(w,Y,M)?(Y=g(w,Y,S,1),Y=g(w,Y,S,2),Y=g(w,Y,S,3),L(w,Y,M)?(Y=g(w,Y,S,4),ie=[pe,S[1],S[2],S[3],S[4]]):ie=[pe,S[1],S[2],S[3]]):ie=[pe],c.push(ie)}R||p(c),A.push(c),U=M+1}while(U<=w.length);return A}function y(w,S){let A=w.indexOf(";",S);return A===-1?w.length:A}function g(w,S,A,U){let M=0,c=0,R=0;do{let Y=w.charCodeAt(S++);R=a[Y],M|=(R&31)<<c,c+=5}while(R&32);let W=M&1;return M>>>=1,W&&(M=-2147483648|-M),A[U]+=M,S}function L(w,S,A){return S>=A?!1:w.charCodeAt(S)!==44}function p(w){w.sort(h)}function h(w,S){return w[0]-S[0]}function T(w){let S=new Int32Array(5),A=1024*16,U=A-36,M=new Uint8Array(A),c=M.subarray(0,U),R=0,W="";for(let Y=0;Y<w.length;Y++){let ie=w[Y];if(Y>0&&(R===A&&(W+=u.decode(M),R=0),M[R++]=59),ie.length!==0){S[0]=0;for(let pe=0;pe<ie.length;pe++){let ae=ie[pe];R>U&&(W+=u.decode(c),M.copyWithin(0,U,R),R-=U),pe>0&&(M[R++]=44),R=x(M,R,S,ae,0),ae.length!==1&&(R=x(M,R,S,ae,1),R=x(M,R,S,ae,2),R=x(M,R,S,ae,3),ae.length!==4&&(R=x(M,R,S,ae,4)))}}}return W+u.decode(M.subarray(0,R))}function x(w,S,A,U,M){let c=U[M],R=c-A[M];A[M]=c,R=R<0?-R<<1|1:R<<1;do{let W=R&31;R>>>=5,R>0&&(W|=32),w[S++]=r[W]}while(R>0);return S}e.decode=d,e.encode=T,Object.defineProperty(e,"__esModule",{value:!0})})});var M1=Z(($a,qa)=>{(function(e,t){typeof $a=="object"&&typeof qa<"u"?qa.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})($a,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(A){A[A.Empty=1]="Empty",A[A.Hash=2]="Hash",A[A.Query=3]="Query",A[A.RelativePath=4]="RelativePath",A[A.AbsolutePath=5]="AbsolutePath",A[A.SchemeRelative=6]="SchemeRelative",A[A.Absolute=7]="Absolute"})(i||(i={}));function r(A){return e.test(A)}function a(A){return A.startsWith("//")}function u(A){return A.startsWith("/")}function d(A){return A.startsWith("file:")}function y(A){return/^[.?#]/.test(A)}function g(A){let U=t.exec(A);return p(U[1],U[2]||"",U[3],U[4]||"",U[5]||"/",U[6]||"",U[7]||"")}function L(A){let U=s.exec(A),M=U[2];return p("file:","",U[1]||"","",u(M)?M:"/"+M,U[3]||"",U[4]||"")}function p(A,U,M,c,R,W,Y){return{scheme:A,user:U,host:M,port:c,path:R,query:W,hash:Y,type:i.Absolute}}function h(A){if(a(A)){let M=g("http:"+A);return M.scheme="",M.type=i.SchemeRelative,M}if(u(A)){let M=g("http://foo.com"+A);return M.scheme="",M.host="",M.type=i.AbsolutePath,M}if(d(A))return L(A);if(r(A))return g(A);let U=g("http://foo.com/"+A);return U.scheme="",U.host="",U.type=A?A.startsWith("?")?i.Query:A.startsWith("#")?i.Hash:i.RelativePath:i.Empty,U}function T(A){if(A.endsWith("/.."))return A;let U=A.lastIndexOf("/");return A.slice(0,U+1)}function x(A,U){w(U,U.type),A.path==="/"?A.path=U.path:A.path=T(U.path)+A.path}function w(A,U){let M=U<=i.RelativePath,c=A.path.split("/"),R=1,W=0,Y=!1;for(let pe=1;pe<c.length;pe++){let ae=c[pe];if(!ae){Y=!0;continue}if(Y=!1,ae!=="."){if(ae===".."){W?(Y=!0,W--,R--):M&&(c[R++]=ae);continue}c[R++]=ae,W++}}let ie="";for(let pe=1;pe<R;pe++)ie+="/"+c[pe];(!ie||Y&&!ie.endsWith("/.."))&&(ie+="/"),A.path=ie}function S(A,U){if(!A&&!U)return"";let M=h(A),c=M.type;if(U&&c!==i.Absolute){let W=h(U),Y=W.type;switch(c){case i.Empty:M.hash=W.hash;case i.Hash:M.query=W.query;case i.Query:case i.RelativePath:x(M,W);case i.AbsolutePath:M.user=W.user,M.host=W.host,M.port=W.port;case i.SchemeRelative:M.scheme=W.scheme}Y>c&&(c=Y)}w(M,c);let R=M.query+M.hash;switch(c){case i.Hash:case i.Query:return R;case i.RelativePath:{let W=M.path.slice(1);return W?y(U||A)&&!y(W)?"./"+W+R:W+R:R||"."}case i.AbsolutePath:return M.path+R;default:return M.scheme+"//"+M.user+M.host+M.port+M.path+R}}return S})});var B1=Z((no,F1)=>{(function(e,t){typeof no=="object"&&typeof F1<"u"?t(no,ja(),M1()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(no,function(e,t,s){"use strict";function i(V){return V&&typeof V=="object"&&"default"in V?V:{default:V}}var r=i(s);function a(V,G){return G&&!G.endsWith("/")&&(G+="/"),r.default(V,G)}function u(V){if(!V)return"";let G=V.lastIndexOf("/");return V.slice(0,G+1)}let d=0,y=1,g=2,L=3,p=4,h=1,T=2;function x(V,G){let J=w(V,0);if(J===V.length)return V;G||(V=V.slice());for(let re=J;re<V.length;re=w(V,re+1))V[re]=A(V[re],G);return V}function w(V,G){for(let J=G;J<V.length;J++)if(!S(V[J]))return J;return V.length}function S(V){for(let G=1;G<V.length;G++)if(V[G][d]<V[G-1][d])return!1;return!0}function A(V,G){return G||(V=V.slice()),V.sort(U)}function U(V,G){return V[d]-G[d]}let M=!1;function c(V,G,J,re){for(;J<=re;){let ve=J+(re-J>>1),he=V[ve][d]-G;if(he===0)return M=!0,ve;he<0?J=ve+1:re=ve-1}return M=!1,J-1}function R(V,G,J){for(let re=J+1;re<V.length&&V[re][d]===G;J=re++);return J}function W(V,G,J){for(let re=J-1;re>=0&&V[re][d]===G;J=re--);return J}function Y(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function ie(V,G,J,re){let{lastKey:ve,lastNeedle:he,lastIndex:Ee}=J,Ae=0,Le=V.length-1;if(re===ve){if(G===he)return M=Ee!==-1&&V[Ee][d]===G,Ee;G>=he?Ae=Ee===-1?0:Ee:Le=Ee}return J.lastKey=re,J.lastNeedle=G,J.lastIndex=c(V,G,Ae,Le)}function pe(V,G){let J=G.map(He);for(let re=0;re<V.length;re++){let ve=V[re];for(let he=0;he<ve.length;he++){let Ee=ve[he];if(Ee.length===1)continue;let Ae=Ee[y],Le=Ee[g],ze=Ee[L],We=J[Ae],Xe=We[Le]||(We[Le]=[]),lt=G[Ae],yt=R(Xe,ze,ie(Xe,ze,lt,Le));ae(Xe,lt.lastIndex=yt+1,[ze,re,Ee[d]])}}return J}function ae(V,G,J){for(let re=V.length;re>G;re--)V[re]=V[re-1];V[G]=J}function He(){return{__proto__:null}}let qe=function(V,G){let J=typeof V=="string"?JSON.parse(V):V;if(!("sections"in J))return new wt(J,G);let re=[],ve=[],he=[],Ee=[];Ft(J,G,re,ve,he,Ee,0,0,1/0,1/0);let Ae={version:3,file:J.file,names:Ee,sources:ve,sourcesContent:he,mappings:re};return e.presortedDecodedMap(Ae)};function Ft(V,G,J,re,ve,he,Ee,Ae,Le,ze){let{sections:We}=V;for(let Xe=0;Xe<We.length;Xe++){let{map:lt,offset:yt}=We[Xe],xt=Le,qt=ze;if(Xe+1<We.length){let Ze=We[Xe+1].offset;xt=Math.min(Le,Ee+Ze.line),xt===Le?qt=Math.min(ze,Ae+Ze.column):xt<Le&&(qt=Ae+Ze.column)}mt(lt,G,J,re,ve,he,Ee+yt.line,Ae+yt.column,xt,qt)}}function mt(V,G,J,re,ve,he,Ee,Ae,Le,ze){if("sections"in V)return Ft(...arguments);let We=new wt(V,G),Xe=re.length,lt=he.length,yt=e.decodedMappings(We),{resolvedSources:xt,sourcesContent:qt}=We;if(vt(re,xt),vt(he,We.names),qt)vt(ve,qt);else for(let Ze=0;Ze<xt.length;Ze++)ve.push(null);for(let Ze=0;Ze<yt.length;Ze++){let _n=Ee+Ze;if(_n>Le)return;let Dn=Et(J,_n),Zn=Ze===0?Ae:0,Ke=yt[Ze];for(let Tt=0;Tt<Ke.length;Tt++){let Ye=Ke[Tt],bn=Zn+Ye[d];if(_n===Le&&bn>=ze)return;if(Ye.length===1){Dn.push([bn]);continue}let yn=Xe+Ye[y],te=Ye[g],Cn=Ye[L];Dn.push(Ye.length===4?[bn,yn,te,Cn]:[bn,yn,te,Cn,lt+Ye[p]])}}}function vt(V,G){for(let J=0;J<G.length;J++)V.push(G[J])}function Et(V,G){for(let J=V.length;J<=G;J++)V[J]=[];return V[G]}let st="`line` must be greater than 0 (lines start at line 1)",it="`column` must be greater than or equal to 0 (columns start at column 0)",bt=-1,pt=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class wt{constructor(G,J){let re=typeof G=="string";if(!re&&G._decodedMemo)return G;let ve=re?JSON.parse(G):G,{version:he,file:Ee,names:Ae,sourceRoot:Le,sources:ze,sourcesContent:We}=ve;this.version=he,this.file=Ee,this.names=Ae,this.sourceRoot=Le,this.sources=ze,this.sourcesContent=We;let Xe=a(Le||"",u(J));this.resolvedSources=ze.map(yt=>a(yt||"",Xe));let{mappings:lt}=ve;typeof lt=="string"?(this._encoded=lt,this._decoded=void 0):(this._encoded=void 0,this._decoded=x(lt,re)),this._decodedMemo=Y(),this._bySources=void 0,this._bySourceMemos=void 0}}e.encodedMappings=V=>{var G;return(G=V._encoded)!==null&&G!==void 0?G:V._encoded=t.encode(V._decoded)},e.decodedMappings=V=>V._decoded||(V._decoded=t.decode(V._encoded)),e.traceSegment=(V,G,J)=>{let re=e.decodedMappings(V);return G>=re.length?null:mn(re[G],V._decodedMemo,G,J,pt)},e.originalPositionFor=(V,{line:G,column:J,bias:re})=>{if(G--,G<0)throw new Error(st);if(J<0)throw new Error(it);let ve=e.decodedMappings(V);if(G>=ve.length)return At(null,null,null,null);let he=mn(ve[G],V._decodedMemo,G,J,re||pt);if(he==null||he.length==1)return At(null,null,null,null);let{names:Ee,resolvedSources:Ae}=V;return At(Ae[he[y]],he[g]+1,he[L],he.length===5?Ee[he[p]]:null)},e.generatedPositionFor=(V,{source:G,line:J,column:re,bias:ve})=>{if(J--,J<0)throw new Error(st);if(re<0)throw new Error(it);let{sources:he,resolvedSources:Ee}=V,Ae=he.indexOf(G);if(Ae===-1&&(Ae=Ee.indexOf(G)),Ae===-1)return $t(null,null);let Le=V._bySources||(V._bySources=pe(e.decodedMappings(V),V._bySourceMemos=he.map(Y))),ze=V._bySourceMemos,We=Le[Ae][J];if(We==null)return $t(null,null);let Xe=mn(We,ze[Ae],J,re,ve||pt);return Xe==null?$t(null,null):$t(Xe[h]+1,Xe[T])},e.eachMapping=(V,G)=>{let J=e.decodedMappings(V),{names:re,resolvedSources:ve}=V;for(let he=0;he<J.length;he++){let Ee=J[he];for(let Ae=0;Ae<Ee.length;Ae++){let Le=Ee[Ae],ze=he+1,We=Le[0],Xe=null,lt=null,yt=null,xt=null;Le.length!==1&&(Xe=ve[Le[1]],lt=Le[2]+1,yt=Le[3]),Le.length===5&&(xt=re[Le[4]]),G({generatedLine:ze,generatedColumn:We,source:Xe,originalLine:lt,originalColumn:yt,name:xt})}}},e.sourceContentFor=(V,G)=>{let{sources:J,resolvedSources:re,sourcesContent:ve}=V;if(ve==null)return null;let he=J.indexOf(G);return he===-1&&(he=re.indexOf(G)),he===-1?null:ve[he]},e.presortedDecodedMap=(V,G)=>{let J=new wt(jt(V,[]),G);return J._decoded=V.mappings,J},e.decodedMap=V=>jt(V,e.decodedMappings(V)),e.encodedMap=V=>jt(V,e.encodedMappings(V));function jt(V,G){return{version:V.version,file:V.file,names:V.names,sourceRoot:V.sourceRoot,sources:V.sources,sourcesContent:V.sourcesContent,mappings:G}}function At(V,G,J,re){return{source:V,line:G,column:J,name:re}}function $t(V,G){return{line:V,column:G}}function mn(V,G,J,re,ve){let he=ie(V,re,G,J);return M?he=(ve===bt?R:W)(V,re,he):ve===bt&&he++,he===-1||he===V.length?null:V[he]}e.AnyMap=qe,e.GREATEST_LOWER_BOUND=pt,e.LEAST_UPPER_BOUND=bt,e.TraceMap=wt,Object.defineProperty(e,"__esModule",{value:!0})})});var j1=Z((so,V1)=>{(function(e,t){typeof so=="object"&&typeof V1<"u"?t(so,O1(),ja(),B1()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(so,function(e,t,s,i){"use strict";e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;let L;class p{constructor({file:R,sourceRoot:W}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=R,this.sourceRoot=W}}e.addSegment=(c,R,W,Y,ie,pe,ae,He)=>L(!1,c,R,W,Y,ie,pe,ae,He),e.maybeAddSegment=(c,R,W,Y,ie,pe,ae,He)=>L(!0,c,R,W,Y,ie,pe,ae,He),e.addMapping=(c,R)=>M(!1,c,R),e.maybeAddMapping=(c,R)=>M(!0,c,R),e.setSourceContent=(c,R,W)=>{let{_sources:Y,_sourcesContent:ie}=c;ie[t.put(Y,R)]=W},e.toDecodedMap=c=>{let{file:R,sourceRoot:W,_mappings:Y,_sources:ie,_sourcesContent:pe,_names:ae}=c;return w(Y),{version:3,file:R||void 0,names:ae.array,sourceRoot:W||void 0,sources:ie.array,sourcesContent:pe,mappings:Y}},e.toEncodedMap=c=>{let R=e.toDecodedMap(c);return Object.assign(Object.assign({},R),{mappings:s.encode(R.mappings)})},e.allMappings=c=>{let R=[],{_mappings:W,_sources:Y,_names:ie}=c;for(let pe=0;pe<W.length;pe++){let ae=W[pe];for(let He=0;He<ae.length;He++){let qe=ae[He],Ft={line:pe+1,column:qe[0]},mt,vt,Et;qe.length!==1&&(mt=Y.array[qe[1]],vt={line:qe[2]+1,column:qe[3]},qe.length===5&&(Et=ie.array[qe[4]])),R.push({generated:Ft,source:mt,original:vt,name:Et})}}return R},e.fromMap=c=>{let R=new i.TraceMap(c),W=new p({file:R.file,sourceRoot:R.sourceRoot});return S(W._names,R.names),S(W._sources,R.sources),W._sourcesContent=R.sourcesContent||R.sources.map(()=>null),W._mappings=i.decodedMappings(R),W},L=(c,R,W,Y,ie,pe,ae,He,qe)=>{let{_mappings:Ft,_sources:mt,_sourcesContent:vt,_names:Et}=R,st=h(Ft,W),it=T(st,Y);if(!ie)return c&&A(st,it)?void 0:x(st,it,[Y]);let bt=t.put(mt,ie),pt=He?t.put(Et,He):-1;if(bt===vt.length&&(vt[bt]=qe??null),!(c&&U(st,it,bt,pe,ae,pt)))return x(st,it,He?[Y,bt,pe,ae,pt]:[Y,bt,pe,ae])};function h(c,R){for(let W=c.length;W<=R;W++)c[W]=[];return c[R]}function T(c,R){let W=c.length;for(let Y=W-1;Y>=0;W=Y--){let ie=c[Y];if(R>=ie[0])break}return W}function x(c,R,W){for(let Y=c.length;Y>R;Y--)c[Y]=c[Y-1];c[R]=W}function w(c){let{length:R}=c,W=R;for(let Y=W-1;Y>=0&&!(c[Y].length>0);W=Y,Y--);W<R&&(c.length=W)}function S(c,R){for(let W=0;W<R.length;W++)t.put(c,R[W])}function A(c,R){return R===0?!0:c[R-1].length===1}function U(c,R,W,Y,ie,pe){if(R===0)return!1;let ae=c[R-1];return ae.length===1?!1:W===ae[1]&&Y===ae[2]&&ie===ae[3]&&pe===(ae.length===5?ae[4]:-1)}function M(c,R,W){let{generated:Y,source:ie,original:pe,name:ae,content:He}=W;if(!ie)return L(c,R,Y.line-1,Y.column,null,null,null,null,null);let qe=ie;return L(c,R,Y.line-1,Y.column,qe,pe.line-1,pe.column,ae,He)}e.GenMapping=p,Object.defineProperty(e,"__esModule",{value:!0})})});var q1=Z(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});var Gi=j1(),$1=Yt();function fy({code:e,mappings:t},s,i,r,a){let u=dy(r,a),d=new Gi.GenMapping({file:i.compiledFilename}),y=0,g=t[0];for(;g===void 0&&y<t.length-1;)y++,g=t[y];let L=0,p=0;g!==p&&Gi.maybeAddSegment.call(void 0,d,L,0,s,L,0);for(let w=0;w<e.length;w++){if(w===g){let S=g-p,A=u[y];for(Gi.maybeAddSegment.call(void 0,d,L,S,s,L,A);(g===w||g===void 0)&&y<t.length-1;)y++,g=t[y]}e.charCodeAt(w)===$1.charCodes.lineFeed&&(L++,p=w+1,g!==p&&Gi.maybeAddSegment.call(void 0,d,L,0,s,L,0))}let{sourceRoot:h,sourcesContent:T,...x}=Gi.toEncodedMap.call(void 0,d);return x}Ka.default=fy;function dy(e,t){let s=new Array(t.length),i=0,r=t[i].start,a=0;for(let u=0;u<e.length;u++)u===r&&(s[i]=r-a,i++,r=t[i].start),e.charCodeAt(u)===$1.charCodes.lineFeed&&(a=u+1);return s}});var K1=Z(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});var my={require:` +`;else if(i==="&"){let{entity:r,newI:a}=q1(e,s+1);t+=r,s=a-1}else t+=i}return JSON.stringify(t)}function q1(e,t){let s="",i=0,r,a=t;if(e[a]==="#"){let u=10;a++;let d;if(e[a]==="x")for(u=16,a++,d=a;a<e.length&&TT(e.charCodeAt(a));)a++;else for(d=a;a<e.length&&mT(e.charCodeAt(a));)a++;if(e[a]===";"){let v=e.slice(d,a);v&&(a++,r=String.fromCodePoint(parseInt(v,u)))}}else for(;a<e.length&&i++<10;){let u=e[a];if(a++,u===";"){r=lT.default.get(s);break}s+=u}return r?{entity:r,newI:a}:{entity:"&",newI:t}}function mT(e){return e>=Rn.charCodes.digit0&&e<=Rn.charCodes.digit9}function TT(e){return e>=Rn.charCodes.digit0&&e<=Rn.charCodes.digit9||e>=Rn.charCodes.lowercaseA&&e<=Rn.charCodes.lowercaseF||e>=Rn.charCodes.uppercaseA&&e<=Rn.charCodes.uppercaseF}});var Ga=Z(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});function yT(e){return e&&e.__esModule?e:{default:e}}var so=bt(),pi=we(),kT=Ha(),vT=ja(),xT=yT(vT);function gT(e,t){let s=xT.default.call(void 0,t),i=new Set;for(let r=0;r<e.tokens.length;r++){let a=e.tokens[r];if(a.type===pi.TokenType.name&&!a.isType&&(a.identifierRole===so.IdentifierRole.Access||a.identifierRole===so.IdentifierRole.ObjectShorthand||a.identifierRole===so.IdentifierRole.ExportAccess)&&!a.shadowsGlobal&&i.add(e.identifierNameForToken(a)),a.type===pi.TokenType.jsxTagStart&&i.add(s.base),a.type===pi.TokenType.jsxTagStart&&r+1<e.tokens.length&&e.tokens[r+1].type===pi.TokenType.jsxTagEnd&&(i.add(s.base),i.add(s.fragmentBase)),a.type===pi.TokenType.jsxName&&a.identifierRole===so.IdentifierRole.Access){let u=e.identifierNameForToken(a);(!kT.startsWithLowerCase.call(void 0,u)||e.tokens[r+1].type===pi.TokenType.dot)&&i.add(e.identifierNameForToken(a))}}return i}Wa.getNonTypeIdentifiers=gT});var U1=Z(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});function _T(e){return e&&e.__esModule?e:{default:e}}var bT=bt(),io=It(),Te=we(),CT=Ji(),wT=_T(CT),ST=Ga(),za=class e{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,s,i,r,a,u){this.nameManager=t,this.tokens=s,this.enableLegacyTypeScriptModuleInterop=i,this.options=r,this.isTypeScriptTransformEnabled=a,this.helperManager=u,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,Te.TokenType._import)&&!this.tokens.matches3AtIndex(t,Te.TokenType._import,Te.TokenType.name,Te.TokenType.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,Te.TokenType._export)&&!this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=ST.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[t,s]of this.importInfoByPath.entries()){if(s.hasBareImport||s.hasStarExport||s.exportStarNames.length>0||s.namedExports.length>0)continue;[...s.defaultNames,...s.wildcardNames,...s.namedImports.map(({localName:r})=>r)].every(r=>this.isTypeName(r))&&this.importsToReplace.set(t,"")}}isTypeName(t){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(let[t,s]of this.importInfoByPath.entries()){let{defaultNames:i,wildcardNames:r,namedImports:a,namedExports:u,exportStarNames:d,hasStarExport:v}=s;if(i.length===0&&r.length===0&&a.length===0&&u.length===0&&d.length===0&&!v){this.importsToReplace.set(t,`require('${t}');`);continue}let g=this.getFreeIdentifierForPath(t),O;this.enableLegacyTypeScriptModuleInterop?O=g:O=r.length>0?r[0]:this.getFreeIdentifierForPath(t);let p=`var ${g} = require('${t}');`;if(r.length>0)for(let f of r){let T=this.enableLegacyTypeScriptModuleInterop?g:`${this.helperManager.getHelperName("interopRequireWildcard")}(${g})`;p+=` var ${f} = ${T};`}else d.length>0&&O!==g?p+=` var ${O} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${g});`:i.length>0&&O!==g&&(p+=` var ${O} = ${this.helperManager.getHelperName("interopRequireDefault")}(${g});`);for(let{importedName:f,localName:T}of u)p+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${g}, '${T}', '${f}');`;for(let f of d)p+=` exports.${f} = ${O};`;v&&(p+=` ${this.helperManager.getHelperName("createStarExport")}(${g});`),this.importsToReplace.set(t,p);for(let f of i)this.identifierReplacements.set(f,`${O}.default`);for(let{importedName:f,localName:T}of a)this.identifierReplacements.set(T,`${g}.${f}`)}}getFreeIdentifierForPath(t){let s=t.split("/"),r=s[s.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${r}`)}preprocessImportAtIndex(t){let s=[],i=[],r=[];if(t++,(this.tokens.matchesContextualAtIndex(t,io.ContextualKeyword._type)||this.tokens.matches1AtIndex(t,Te.TokenType._typeof))&&!this.tokens.matches1AtIndex(t+1,Te.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(t+1,io.ContextualKeyword._from)||this.tokens.matches1AtIndex(t,Te.TokenType.parenL))return;if(this.tokens.matches1AtIndex(t,Te.TokenType.name)&&(s.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,Te.TokenType.comma)&&t++),this.tokens.matches1AtIndex(t,Te.TokenType.star)&&(t+=2,i.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,Te.TokenType.braceL)){let d=this.getNamedImports(t+1);t=d.newIndex;for(let v of d.namedImports)v.importedName==="default"?s.push(v.localName):r.push(v)}if(this.tokens.matchesContextualAtIndex(t,io.ContextualKeyword._from)&&t++,!this.tokens.matches1AtIndex(t,Te.TokenType.string))throw new Error("Expected string token at the end of import statement.");let a=this.tokens.stringValueAtIndex(t),u=this.getImportInfo(a);u.defaultNames.push(...s),u.wildcardNames.push(...i),u.namedImports.push(...r),s.length===0&&i.length===0&&r.length===0&&(u.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType._var)||this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType._let)||this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType._function)||this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType._class)){let s=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(s,s)}else if(this.tokens.matches3AtIndex(t,Te.TokenType._export,Te.TokenType.name,Te.TokenType._function)){let s=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(s,s)}else this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,Te.TokenType._export,Te.TokenType.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let s=0;for(let i=t+2;;i++)if(this.tokens.matches1AtIndex(i,Te.TokenType.braceL)||this.tokens.matches1AtIndex(i,Te.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(i,Te.TokenType.bracketL))s++;else if(this.tokens.matches1AtIndex(i,Te.TokenType.braceR)||this.tokens.matches1AtIndex(i,Te.TokenType.bracketR))s--;else{if(s===0&&!this.tokens.matches1AtIndex(i,Te.TokenType.name))break;if(this.tokens.matches1AtIndex(1,Te.TokenType.eq)){let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");i=r-1}else{let r=this.tokens.tokens[i];if(bT.isDeclaration.call(void 0,r)){let a=this.tokens.identifierNameAtIndex(i);this.identifierReplacements.set(a,`exports.${a}`)}}}}preprocessNamedExportAtIndex(t){t+=2;let{newIndex:s,namedImports:i}=this.getNamedImports(t);if(t=s,this.tokens.matchesContextualAtIndex(t,io.ContextualKeyword._from))t++;else{for(let{importedName:u,localName:d}of i)this.addExportBinding(u,d);return}if(!this.tokens.matches1AtIndex(t,Te.TokenType.string))throw new Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(t);this.getImportInfo(r).namedExports.push(...i)}preprocessExportStarAtIndex(t){let s=null;if(this.tokens.matches3AtIndex(t,Te.TokenType._export,Te.TokenType.star,Te.TokenType._as)?(t+=3,s=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,Te.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let i=this.tokens.stringValueAtIndex(t),r=this.getImportInfo(i);s!==null?r.exportStarNames.push(s):r.hasStarExport=!0}getNamedImports(t){let s=[];for(;;){if(this.tokens.matches1AtIndex(t,Te.TokenType.braceR)){t++;break}let i=wT.default.call(void 0,this.tokens,t);if(t=i.endIndex,i.isType||s.push({importedName:i.leftName,localName:i.rightName}),this.tokens.matches2AtIndex(t,Te.TokenType.comma,Te.TokenType.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,Te.TokenType.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,Te.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:s}}getImportInfo(t){let s=this.importInfoByPath.get(t);if(s)return s;let i={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,i),i}addExportBinding(t,s){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(s)}claimImportCode(t){let s=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),s||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){let s=this.exportBindingsByLocalName.get(t);return!s||s.length===0?null:s.map(i=>`exports.${i}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};Xa.default=za});var W1=Z((ro,H1)=>{(function(e,t){typeof ro=="object"&&typeof H1<"u"?t(ro):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})(ro,function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class t{constructor(){this._indexes={__proto__:null},this.array=[]}}e.get=(s,i)=>s._indexes[i],e.put=(s,i)=>{let r=e.get(s,i);if(r!==void 0)return r;let{array:a,_indexes:u}=s;return u[i]=a.push(i)-1},e.pop=s=>{let{array:i,_indexes:r}=s;if(i.length===0)return;let a=i.pop();r[a]=void 0},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})})});var Ya=Z((oo,G1)=>{(function(e,t){typeof oo=="object"&&typeof G1<"u"?t(oo):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(oo,function(e){"use strict";let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),a=new Uint8Array(128);for(let w=0;w<i.length;w++){let S=i.charCodeAt(w);r[w]=S,a[S]=w}let u=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(w){return Buffer.from(w.buffer,w.byteOffset,w.byteLength).toString()}}:{decode(w){let S="";for(let A=0;A<w.length;A++)S+=String.fromCharCode(w[A]);return S}};function d(w){let S=new Int32Array(5),A=[],q=0;do{let M=v(w,q),c=[],R=!0,W=0;S[0]=0;for(let Y=q;Y<M;Y++){let ie;Y=g(w,Y,S,0);let he=S[0];he<W&&(R=!1),W=he,O(w,Y,M)?(Y=g(w,Y,S,1),Y=g(w,Y,S,2),Y=g(w,Y,S,3),O(w,Y,M)?(Y=g(w,Y,S,4),ie=[he,S[1],S[2],S[3],S[4]]):ie=[he,S[1],S[2],S[3]]):ie=[he],c.push(ie)}R||p(c),A.push(c),q=M+1}while(q<=w.length);return A}function v(w,S){let A=w.indexOf(";",S);return A===-1?w.length:A}function g(w,S,A,q){let M=0,c=0,R=0;do{let Y=w.charCodeAt(S++);R=a[Y],M|=(R&31)<<c,c+=5}while(R&32);let W=M&1;return M>>>=1,W&&(M=-2147483648|-M),A[q]+=M,S}function O(w,S,A){return S>=A?!1:w.charCodeAt(S)!==44}function p(w){w.sort(f)}function f(w,S){return w[0]-S[0]}function T(w){let S=new Int32Array(5),A=1024*16,q=A-36,M=new Uint8Array(A),c=M.subarray(0,q),R=0,W="";for(let Y=0;Y<w.length;Y++){let ie=w[Y];if(Y>0&&(R===A&&(W+=u.decode(M),R=0),M[R++]=59),ie.length!==0){S[0]=0;for(let he=0;he<ie.length;he++){let ae=ie[he];R>q&&(W+=u.decode(c),M.copyWithin(0,q,R),R-=q),he>0&&(M[R++]=44),R=x(M,R,S,ae,0),ae.length!==1&&(R=x(M,R,S,ae,1),R=x(M,R,S,ae,2),R=x(M,R,S,ae,3),ae.length!==4&&(R=x(M,R,S,ae,4)))}}}return W+u.decode(M.subarray(0,R))}function x(w,S,A,q,M){let c=q[M],R=c-A[M];A[M]=c,R=R<0?-R<<1|1:R<<1;do{let W=R&31;R>>>=5,R>0&&(W|=32),w[S++]=r[W]}while(R>0);return S}e.decode=d,e.encode=T,Object.defineProperty(e,"__esModule",{value:!0})})});var z1=Z((Ja,Qa)=>{(function(e,t){typeof Ja=="object"&&typeof Qa<"u"?Qa.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(Ja,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(A){A[A.Empty=1]="Empty",A[A.Hash=2]="Hash",A[A.Query=3]="Query",A[A.RelativePath=4]="RelativePath",A[A.AbsolutePath=5]="AbsolutePath",A[A.SchemeRelative=6]="SchemeRelative",A[A.Absolute=7]="Absolute"})(i||(i={}));function r(A){return e.test(A)}function a(A){return A.startsWith("//")}function u(A){return A.startsWith("/")}function d(A){return A.startsWith("file:")}function v(A){return/^[.?#]/.test(A)}function g(A){let q=t.exec(A);return p(q[1],q[2]||"",q[3],q[4]||"",q[5]||"/",q[6]||"",q[7]||"")}function O(A){let q=s.exec(A),M=q[2];return p("file:","",q[1]||"","",u(M)?M:"/"+M,q[3]||"",q[4]||"")}function p(A,q,M,c,R,W,Y){return{scheme:A,user:q,host:M,port:c,path:R,query:W,hash:Y,type:i.Absolute}}function f(A){if(a(A)){let M=g("http:"+A);return M.scheme="",M.type=i.SchemeRelative,M}if(u(A)){let M=g("http://foo.com"+A);return M.scheme="",M.host="",M.type=i.AbsolutePath,M}if(d(A))return O(A);if(r(A))return g(A);let q=g("http://foo.com/"+A);return q.scheme="",q.host="",q.type=A?A.startsWith("?")?i.Query:A.startsWith("#")?i.Hash:i.RelativePath:i.Empty,q}function T(A){if(A.endsWith("/.."))return A;let q=A.lastIndexOf("/");return A.slice(0,q+1)}function x(A,q){w(q,q.type),A.path==="/"?A.path=q.path:A.path=T(q.path)+A.path}function w(A,q){let M=q<=i.RelativePath,c=A.path.split("/"),R=1,W=0,Y=!1;for(let he=1;he<c.length;he++){let ae=c[he];if(!ae){Y=!0;continue}if(Y=!1,ae!=="."){if(ae===".."){W?(Y=!0,W--,R--):M&&(c[R++]=ae);continue}c[R++]=ae,W++}}let ie="";for(let he=1;he<R;he++)ie+="/"+c[he];(!ie||Y&&!ie.endsWith("/.."))&&(ie+="/"),A.path=ie}function S(A,q){if(!A&&!q)return"";let M=f(A),c=M.type;if(q&&c!==i.Absolute){let W=f(q),Y=W.type;switch(c){case i.Empty:M.hash=W.hash;case i.Hash:M.query=W.query;case i.Query:case i.RelativePath:x(M,W);case i.AbsolutePath:M.user=W.user,M.host=W.host,M.port=W.port;case i.SchemeRelative:M.scheme=W.scheme}Y>c&&(c=Y)}w(M,c);let R=M.query+M.hash;switch(c){case i.Hash:case i.Query:return R;case i.RelativePath:{let W=M.path.slice(1);return W?v(q||A)&&!v(W)?"./"+W+R:W+R:R||"."}case i.AbsolutePath:return M.path+R;default:return M.scheme+"//"+M.user+M.host+M.port+M.path+R}}return S})});var Y1=Z((ao,X1)=>{(function(e,t){typeof ao=="object"&&typeof X1<"u"?t(ao,Ya(),z1()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(ao,function(e,t,s){"use strict";function i(V){return V&&typeof V=="object"&&"default"in V?V:{default:V}}var r=i(s);function a(V,G){return G&&!G.endsWith("/")&&(G+="/"),r.default(V,G)}function u(V){if(!V)return"";let G=V.lastIndexOf("/");return V.slice(0,G+1)}let d=0,v=1,g=2,O=3,p=4,f=1,T=2;function x(V,G){let J=w(V,0);if(J===V.length)return V;G||(V=V.slice());for(let re=J;re<V.length;re=w(V,re+1))V[re]=A(V[re],G);return V}function w(V,G){for(let J=G;J<V.length;J++)if(!S(V[J]))return J;return V.length}function S(V){for(let G=1;G<V.length;G++)if(V[G][d]<V[G-1][d])return!1;return!0}function A(V,G){return G||(V=V.slice()),V.sort(q)}function q(V,G){return V[d]-G[d]}let M=!1;function c(V,G,J,re){for(;J<=re;){let xe=J+(re-J>>1),fe=V[xe][d]-G;if(fe===0)return M=!0,xe;fe<0?J=xe+1:re=xe-1}return M=!1,J-1}function R(V,G,J){for(let re=J+1;re<V.length&&V[re][d]===G;J=re++);return J}function W(V,G,J){for(let re=J-1;re>=0&&V[re][d]===G;J=re--);return J}function Y(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function ie(V,G,J,re){let{lastKey:xe,lastNeedle:fe,lastIndex:Ae}=J,Pe=0,Oe=V.length-1;if(re===xe){if(G===fe)return M=Ae!==-1&&V[Ae][d]===G,Ae;G>=fe?Pe=Ae===-1?0:Ae:Oe=Ae}return J.lastKey=re,J.lastNeedle=G,J.lastIndex=c(V,G,Pe,Oe)}function he(V,G){let J=G.map(We);for(let re=0;re<V.length;re++){let xe=V[re];for(let fe=0;fe<xe.length;fe++){let Ae=xe[fe];if(Ae.length===1)continue;let Pe=Ae[v],Oe=Ae[g],Xe=Ae[O],Ge=J[Pe],Ye=Ge[Oe]||(Ge[Oe]=[]),ct=G[Pe],yt=R(Ye,Xe,ie(Ye,Xe,ct,Oe));ae(Ye,ct.lastIndex=yt+1,[Xe,re,Ae[d]])}}return J}function ae(V,G,J){for(let re=V.length;re>G;re--)V[re]=V[re-1];V[G]=J}function We(){return{__proto__:null}}let qe=function(V,G){let J=typeof V=="string"?JSON.parse(V):V;if(!("sections"in J))return new St(J,G);let re=[],xe=[],fe=[],Ae=[];Ft(J,G,re,xe,fe,Ae,0,0,1/0,1/0);let Pe={version:3,file:J.file,names:Ae,sources:xe,sourcesContent:fe,mappings:re};return e.presortedDecodedMap(Pe)};function Ft(V,G,J,re,xe,fe,Ae,Pe,Oe,Xe){let{sections:Ge}=V;for(let Ye=0;Ye<Ge.length;Ye++){let{map:ct,offset:yt}=Ge[Ye],gt=Oe,Ut=Xe;if(Ye+1<Ge.length){let et=Ge[Ye+1].offset;gt=Math.min(Oe,Ae+et.line),gt===Oe?Ut=Math.min(Xe,Pe+et.column):gt<Oe&&(Ut=Pe+et.column)}Tt(ct,G,J,re,xe,fe,Ae+yt.line,Pe+yt.column,gt,Ut)}}function Tt(V,G,J,re,xe,fe,Ae,Pe,Oe,Xe){if("sections"in V)return Ft(...arguments);let Ge=new St(V,G),Ye=re.length,ct=fe.length,yt=e.decodedMappings(Ge),{resolvedSources:gt,sourcesContent:Ut}=Ge;if(xt(re,gt),xt(fe,Ge.names),Ut)xt(xe,Ut);else for(let et=0;et<gt.length;et++)xe.push(null);for(let et=0;et<yt.length;et++){let bn=Ae+et;if(bn>Oe)return;let Bn=At(J,bn),is=et===0?Pe:0,Ue=yt[et];for(let kt=0;kt<Ue.length;kt++){let Je=Ue[kt],Cn=is+Je[d];if(bn===Oe&&Cn>=Xe)return;if(Je.length===1){Bn.push([Cn]);continue}let kn=Ye+Je[v],te=Je[g],wn=Je[O];Bn.push(Je.length===4?[Cn,kn,te,wn]:[Cn,kn,te,wn,ct+Je[p]])}}}function xt(V,G){for(let J=0;J<G.length;J++)V.push(G[J])}function At(V,G){for(let J=V.length;J<=G;J++)V[J]=[];return V[G]}let it="`line` must be greater than 0 (lines start at line 1)",rt="`column` must be greater than or equal to 0 (columns start at column 0)",wt=-1,ht=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class St{constructor(G,J){let re=typeof G=="string";if(!re&&G._decodedMemo)return G;let xe=re?JSON.parse(G):G,{version:fe,file:Ae,names:Pe,sourceRoot:Oe,sources:Xe,sourcesContent:Ge}=xe;this.version=fe,this.file=Ae,this.names=Pe,this.sourceRoot=Oe,this.sources=Xe,this.sourcesContent=Ge;let Ye=a(Oe||"",u(J));this.resolvedSources=Xe.map(yt=>a(yt||"",Ye));let{mappings:ct}=xe;typeof ct=="string"?(this._encoded=ct,this._decoded=void 0):(this._encoded=void 0,this._decoded=x(ct,re)),this._decodedMemo=Y(),this._bySources=void 0,this._bySourceMemos=void 0}}e.encodedMappings=V=>{var G;return(G=V._encoded)!==null&&G!==void 0?G:V._encoded=t.encode(V._decoded)},e.decodedMappings=V=>V._decoded||(V._decoded=t.decode(V._encoded)),e.traceSegment=(V,G,J)=>{let re=e.decodedMappings(V);return G>=re.length?null:yn(re[G],V._decodedMemo,G,J,ht)},e.originalPositionFor=(V,{line:G,column:J,bias:re})=>{if(G--,G<0)throw new Error(it);if(J<0)throw new Error(rt);let xe=e.decodedMappings(V);if(G>=xe.length)return Pt(null,null,null,null);let fe=yn(xe[G],V._decodedMemo,G,J,re||ht);if(fe==null||fe.length==1)return Pt(null,null,null,null);let{names:Ae,resolvedSources:Pe}=V;return Pt(Pe[fe[v]],fe[g]+1,fe[O],fe.length===5?Ae[fe[p]]:null)},e.generatedPositionFor=(V,{source:G,line:J,column:re,bias:xe})=>{if(J--,J<0)throw new Error(it);if(re<0)throw new Error(rt);let{sources:fe,resolvedSources:Ae}=V,Pe=fe.indexOf(G);if(Pe===-1&&(Pe=Ae.indexOf(G)),Pe===-1)return qt(null,null);let Oe=V._bySources||(V._bySources=he(e.decodedMappings(V),V._bySourceMemos=fe.map(Y))),Xe=V._bySourceMemos,Ge=Oe[Pe][J];if(Ge==null)return qt(null,null);let Ye=yn(Ge,Xe[Pe],J,re,xe||ht);return Ye==null?qt(null,null):qt(Ye[f]+1,Ye[T])},e.eachMapping=(V,G)=>{let J=e.decodedMappings(V),{names:re,resolvedSources:xe}=V;for(let fe=0;fe<J.length;fe++){let Ae=J[fe];for(let Pe=0;Pe<Ae.length;Pe++){let Oe=Ae[Pe],Xe=fe+1,Ge=Oe[0],Ye=null,ct=null,yt=null,gt=null;Oe.length!==1&&(Ye=xe[Oe[1]],ct=Oe[2]+1,yt=Oe[3]),Oe.length===5&&(gt=re[Oe[4]]),G({generatedLine:Xe,generatedColumn:Ge,source:Ye,originalLine:ct,originalColumn:yt,name:gt})}}},e.sourceContentFor=(V,G)=>{let{sources:J,resolvedSources:re,sourcesContent:xe}=V;if(xe==null)return null;let fe=J.indexOf(G);return fe===-1&&(fe=re.indexOf(G)),fe===-1?null:xe[fe]},e.presortedDecodedMap=(V,G)=>{let J=new St(Kt(V,[]),G);return J._decoded=V.mappings,J},e.decodedMap=V=>Kt(V,e.decodedMappings(V)),e.encodedMap=V=>Kt(V,e.encodedMappings(V));function Kt(V,G){return{version:V.version,file:V.file,names:V.names,sourceRoot:V.sourceRoot,sources:V.sources,sourcesContent:V.sourcesContent,mappings:G}}function Pt(V,G,J,re){return{source:V,line:G,column:J,name:re}}function qt(V,G){return{line:V,column:G}}function yn(V,G,J,re,xe){let fe=ie(V,re,G,J);return M?fe=(xe===wt?R:W)(V,re,fe):xe===wt&&fe++,fe===-1||fe===V.length?null:V[fe]}e.AnyMap=qe,e.GREATEST_LOWER_BOUND=ht,e.LEAST_UPPER_BOUND=wt,e.TraceMap=St,Object.defineProperty(e,"__esModule",{value:!0})})});var Q1=Z((lo,J1)=>{(function(e,t){typeof lo=="object"&&typeof J1<"u"?t(lo,W1(),Ya(),Y1()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(lo,function(e,t,s,i){"use strict";e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;let O;class p{constructor({file:R,sourceRoot:W}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=R,this.sourceRoot=W}}e.addSegment=(c,R,W,Y,ie,he,ae,We)=>O(!1,c,R,W,Y,ie,he,ae,We),e.maybeAddSegment=(c,R,W,Y,ie,he,ae,We)=>O(!0,c,R,W,Y,ie,he,ae,We),e.addMapping=(c,R)=>M(!1,c,R),e.maybeAddMapping=(c,R)=>M(!0,c,R),e.setSourceContent=(c,R,W)=>{let{_sources:Y,_sourcesContent:ie}=c;ie[t.put(Y,R)]=W},e.toDecodedMap=c=>{let{file:R,sourceRoot:W,_mappings:Y,_sources:ie,_sourcesContent:he,_names:ae}=c;return w(Y),{version:3,file:R||void 0,names:ae.array,sourceRoot:W||void 0,sources:ie.array,sourcesContent:he,mappings:Y}},e.toEncodedMap=c=>{let R=e.toDecodedMap(c);return Object.assign(Object.assign({},R),{mappings:s.encode(R.mappings)})},e.allMappings=c=>{let R=[],{_mappings:W,_sources:Y,_names:ie}=c;for(let he=0;he<W.length;he++){let ae=W[he];for(let We=0;We<ae.length;We++){let qe=ae[We],Ft={line:he+1,column:qe[0]},Tt,xt,At;qe.length!==1&&(Tt=Y.array[qe[1]],xt={line:qe[2]+1,column:qe[3]},qe.length===5&&(At=ie.array[qe[4]])),R.push({generated:Ft,source:Tt,original:xt,name:At})}}return R},e.fromMap=c=>{let R=new i.TraceMap(c),W=new p({file:R.file,sourceRoot:R.sourceRoot});return S(W._names,R.names),S(W._sources,R.sources),W._sourcesContent=R.sourcesContent||R.sources.map(()=>null),W._mappings=i.decodedMappings(R),W},O=(c,R,W,Y,ie,he,ae,We,qe)=>{let{_mappings:Ft,_sources:Tt,_sourcesContent:xt,_names:At}=R,it=f(Ft,W),rt=T(it,Y);if(!ie)return c&&A(it,rt)?void 0:x(it,rt,[Y]);let wt=t.put(Tt,ie),ht=We?t.put(At,We):-1;if(wt===xt.length&&(xt[wt]=qe??null),!(c&&q(it,rt,wt,he,ae,ht)))return x(it,rt,We?[Y,wt,he,ae,ht]:[Y,wt,he,ae])};function f(c,R){for(let W=c.length;W<=R;W++)c[W]=[];return c[R]}function T(c,R){let W=c.length;for(let Y=W-1;Y>=0;W=Y--){let ie=c[Y];if(R>=ie[0])break}return W}function x(c,R,W){for(let Y=c.length;Y>R;Y--)c[Y]=c[Y-1];c[R]=W}function w(c){let{length:R}=c,W=R;for(let Y=W-1;Y>=0&&!(c[Y].length>0);W=Y,Y--);W<R&&(c.length=W)}function S(c,R){for(let W=0;W<R.length;W++)t.put(c,R[W])}function A(c,R){return R===0?!0:c[R-1].length===1}function q(c,R,W,Y,ie,he){if(R===0)return!1;let ae=c[R-1];return ae.length===1?!1:W===ae[1]&&Y===ae[2]&&ie===ae[3]&&he===(ae.length===5?ae[4]:-1)}function M(c,R,W){let{generated:Y,source:ie,original:he,name:ae,content:We}=W;if(!ie)return O(c,R,Y.line-1,Y.column,null,null,null,null,null);let qe=ie;return O(c,R,Y.line-1,Y.column,qe,he.line-1,he.column,ae,We)}e.GenMapping=p,Object.defineProperty(e,"__esModule",{value:!0})})});var ep=Z(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});var Qi=Q1(),Z1=Zt();function IT({code:e,mappings:t},s,i,r,a){let u=ET(r,a),d=new Qi.GenMapping({file:i.compiledFilename}),v=0,g=t[0];for(;g===void 0&&v<t.length-1;)v++,g=t[v];let O=0,p=0;g!==p&&Qi.maybeAddSegment.call(void 0,d,O,0,s,O,0);for(let w=0;w<e.length;w++){if(w===g){let S=g-p,A=u[v];for(Qi.maybeAddSegment.call(void 0,d,O,S,s,O,A);(g===w||g===void 0)&&v<t.length-1;)v++,g=t[v]}e.charCodeAt(w)===Z1.charCodes.lineFeed&&(O++,p=w+1,g!==p&&Qi.maybeAddSegment.call(void 0,d,O,0,s,O,0))}let{sourceRoot:f,sourcesContent:T,...x}=Qi.toEncodedMap.call(void 0,d);return x}Za.default=IT;function ET(e,t){let s=new Array(t.length),i=0,r=t[i].start,a=0;for(let u=0;u<e.length;u++)u===r&&(s[i]=r-a,i++,r=t[i].start),e.charCodeAt(u)===Z1.charCodes.lineFeed&&(a=u+1);return s}});var tp=Z(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});var AT={require:` import {createRequire as CREATE_REQUIRE_NAME} from "module"; const require = CREATE_REQUIRE_NAME(import.meta.url); `,interopRequireWildcard:` @@ -155,13 +152,13 @@ If you need interactivity, consider converting part of this to a Client Componen const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops); return result == null ? true : result; } - `},Ua=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(t){let s=this.helperNames[t];return s||(s=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=s,s)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[s,i]of Object.entries(my)){let r=this.helperNames[s],a=i;s==="optionalChainDelete"?a=a.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):s==="asyncOptionalChainDelete"?a=a.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):s==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),a=a.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(t+=" ",t+=a.replace(s,r).replace(/\s+/g," ").trim())}return t}};Ha.HelperManager=Ua});var W1=Z(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});var Wa=gt(),io=Ce();function yy(e,t,s){H1(e,s)&&Ty(e,t,s)}ro.default=yy;function H1(e,t){for(let s of e.tokens)if(s.type===io.TokenType.name&&Wa.isNonTopLevelDeclaration.call(void 0,s)&&t.has(e.identifierNameForToken(s)))return!0;return!1}ro.hasShadowedGlobals=H1;function Ty(e,t,s){let i=[],r=t.length-1;for(let a=e.tokens.length-1;;a--){for(;i.length>0&&i[i.length-1].startTokenIndex===a+1;)i.pop();for(;r>=0&&t[r].endTokenIndex===a+1;)i.push(t[r]),r--;if(a<0)break;let u=e.tokens[a],d=e.identifierNameForToken(u);if(i.length>1&&u.type===io.TokenType.name&&s.has(d)){if(Wa.isBlockScopedDeclaration.call(void 0,u))U1(i[i.length-1],e,d);else if(Wa.isFunctionScopedDeclaration.call(void 0,u)){let y=i.length-1;for(;y>0&&!i[y].isFunctionScope;)y--;if(y<0)throw new Error("Did not find parent function scope.");U1(i[y],e,d)}}}if(i.length>0)throw new Error("Expected empty scope stack after processing file.")}function U1(e,t,s){for(let i=e.startTokenIndex;i<e.endTokenIndex;i++){let r=t.tokens[i];(r.type===io.TokenType.name||r.type===io.TokenType.jsxName)&&t.identifierNameForToken(r)===s&&(r.shadowsGlobal=!0)}}});var G1=Z(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});var ky=Ce();function vy(e,t){let s=[];for(let i of t)i.type===ky.TokenType.name&&s.push(e.slice(i.start,i.end));return s}Ga.default=vy});var z1=Z(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});function xy(e){return e&&e.__esModule?e:{default:e}}var gy=G1(),_y=xy(gy),za=class e{__init(){this.usedNames=new Set}constructor(t,s){e.prototype.__init.call(this),this.usedNames=new Set(_y.default.call(void 0,t,s))}claimFreeName(t){let s=this.findFreeName(t);return this.usedNames.add(s),s}findFreeName(t){if(!this.usedNames.has(t))return t;let s=2;for(;this.usedNames.has(t+String(s));)s++;return t+String(s)}};Xa.default=za});var oo=Z(Pn=>{"use strict";var by=Pn&&Pn.__extends||function(){var e=function(t,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a])},e(t,s)};return function(t,s){e(t,s);function i(){this.constructor=t}t.prototype=s===null?Object.create(s):(i.prototype=s.prototype,new i)}}();Object.defineProperty(Pn,"__esModule",{value:!0});Pn.DetailContext=Pn.NoopContext=Pn.VError=void 0;var X1=function(e){by(t,e);function t(s,i){var r=e.call(this,i)||this;return r.path=s,Object.setPrototypeOf(r,t.prototype),r}return t}(Error);Pn.VError=X1;var Cy=function(){function e(){}return e.prototype.fail=function(t,s,i){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();Pn.NoopContext=Cy;var Y1=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,s,i){return this._propNames.push(t),this._messages.push(s),this._score+=i,!1},e.prototype.unionResolver=function(){return new wy},e.prototype.resolveUnion=function(t){for(var s,i,r=t,a=null,u=0,d=r.contexts;u<d.length;u++){var y=d[u];(!a||y._score>=a._score)&&(a=y)}a&&a._score>0&&((s=this._propNames).push.apply(s,a._propNames),(i=this._messages).push.apply(i,a._messages))},e.prototype.getError=function(t){for(var s=[],i=this._propNames.length-1;i>=0;i--){var r=this._propNames[i];t+=typeof r=="number"?"["+r+"]":r?"."+r:"";var a=this._messages[i];a&&s.push(t+" "+a)}return new X1(t,s.join("; "))},e.prototype.getErrorDetail=function(t){for(var s=[],i=this._propNames.length-1;i>=0;i--){var r=this._propNames[i];t+=typeof r=="number"?"["+r+"]":r?"."+r:"";var a=this._messages[i];a&&s.push({path:t,message:a})}for(var u=null,i=s.length-1;i>=0;i--)u&&(s[i].nested=[u]),u=s[i];return u},e}();Pn.DetailContext=Y1;var wy=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new Y1;return this.contexts.push(t),t},e}()});var sl=Z(ce=>{"use strict";var en=ce&&ce.__extends||function(){var e=function(t,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a])},e(t,s)};return function(t,s){e(t,s);function i(){this.constructor=t}t.prototype=s===null?Object.create(s):(i.prototype=s.prototype,new i)}}();Object.defineProperty(ce,"__esModule",{value:!0});ce.basicTypes=ce.BasicType=ce.TParamList=ce.TParam=ce.param=ce.TFunc=ce.func=ce.TProp=ce.TOptional=ce.opt=ce.TIface=ce.iface=ce.TEnumLiteral=ce.enumlit=ce.TEnumType=ce.enumtype=ce.TIntersection=ce.intersection=ce.TUnion=ce.union=ce.TTuple=ce.tuple=ce.TArray=ce.array=ce.TLiteral=ce.lit=ce.TName=ce.name=ce.TType=void 0;var Z1=oo(),Ht=function(){function e(){}return e}();ce.TType=Ht;function ps(e){return typeof e=="string"?ep(e):e}function Qa(e,t){var s=e[t];if(!s)throw new Error("Unknown type "+t);return s}function ep(e){return new Za(e)}ce.name=ep;var Za=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.name=s,i._failMsg="is not a "+s,i}return t.prototype.getChecker=function(s,i,r){var a=this,u=Qa(s,this.name),d=u.getChecker(s,i,r);return u instanceof Ot||u instanceof t?d:function(y,g){return d(y,g)?!0:g.fail(null,a._failMsg,0)}},t}(Ht);ce.TName=Za;function Sy(e){return new el(e)}ce.lit=Sy;var el=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.value=s,i.name=JSON.stringify(s),i._failMsg="is not "+i.name,i}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return a===r.value?!0:u.fail(null,r._failMsg,-1)}},t}(Ht);ce.TLiteral=el;function Iy(e){return new tp(ps(e))}ce.array=Iy;var tp=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.ttype=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttype.getChecker(s,i);return function(a,u){if(!Array.isArray(a))return u.fail(null,"is not an array",0);for(var d=0;d<a.length;d++){var y=r(a[d],u);if(!y)return u.fail(d,null,1)}return!0}},t}(Ht);ce.TArray=tp;function Ey(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new np(e.map(function(s){return ps(s)}))}ce.tuple=Ey;var np=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.ttypes=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttypes.map(function(u){return u.getChecker(s,i)}),a=function(u,d){if(!Array.isArray(u))return d.fail(null,"is not an array",0);for(var y=0;y<r.length;y++){var g=r[y](u[y],d);if(!g)return d.fail(y,null,1)}return!0};return i?function(u,d){return a(u,d)?u.length<=r.length?!0:d.fail(r.length,"is extraneous",2):!1}:a},t}(Ht);ce.TTuple=np;function Ay(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new sp(e.map(function(s){return ps(s)}))}ce.union=Ay;var sp=function(e){en(t,e);function t(s){var i=e.call(this)||this;i.ttypes=s;var r=s.map(function(u){return u instanceof Za||u instanceof el?u.name:null}).filter(function(u){return u}),a=s.length-r.length;return r.length?(a>0&&r.push(a+" more"),i._failMsg="is none of "+r.join(", ")):i._failMsg="is none of "+a+" types",i}return t.prototype.getChecker=function(s,i){var r=this,a=this.ttypes.map(function(u){return u.getChecker(s,i)});return function(u,d){for(var y=d.unionResolver(),g=0;g<a.length;g++){var L=a[g](u,y.createContext());if(L)return!0}return d.resolveUnion(y),d.fail(null,r._failMsg,0)}},t}(Ht);ce.TUnion=sp;function Py(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ip(e.map(function(s){return ps(s)}))}ce.intersection=Py;var ip=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.ttypes=s,i}return t.prototype.getChecker=function(s,i){var r=new Set,a=this.ttypes.map(function(u){return u.getChecker(s,i,r)});return function(u,d){var y=a.every(function(g){return g(u,d)});return y?!0:d.fail(null,null,0)}},t}(Ht);ce.TIntersection=ip;function Ny(e){return new tl(e)}ce.enumtype=Ny;var tl=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.members=s,i.validValues=new Set,i._failMsg="is not a valid enum value",i.validValues=new Set(Object.keys(s).map(function(r){return s[r]})),i}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return r.validValues.has(a)?!0:u.fail(null,r._failMsg,0)}},t}(Ht);ce.TEnumType=tl;function Ry(e,t){return new rp(e,t)}ce.enumlit=Ry;var rp=function(e){en(t,e);function t(s,i){var r=e.call(this)||this;return r.enumName=s,r.prop=i,r._failMsg="is not "+s+"."+i,r}return t.prototype.getChecker=function(s,i){var r=this,a=Qa(s,this.enumName);if(!(a instanceof tl))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var u=a.members[this.prop];if(!a.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(d,y){return d===u?!0:y.fail(null,r._failMsg,-1)}},t}(Ht);ce.TEnumLiteral=rp;function Ly(e){return Object.keys(e).map(function(t){return Oy(t,e[t])})}function Oy(e,t){return t instanceof nl?new Ja(e,t.ttype,!0):new Ja(e,ps(t),!1)}function Dy(e,t){return new op(e,Ly(t))}ce.iface=Dy;var op=function(e){en(t,e);function t(s,i){var r=e.call(this)||this;return r.bases=s,r.props=i,r.propSet=new Set(i.map(function(a){return a.name})),r}return t.prototype.getChecker=function(s,i,r){var a=this,u=this.bases.map(function(h){return Qa(s,h).getChecker(s,i)}),d=this.props.map(function(h){return h.ttype.getChecker(s,i)}),y=new Z1.NoopContext,g=this.props.map(function(h,T){return!h.isOpt&&!d[T](void 0,y)}),L=function(h,T){if(typeof h!="object"||h===null)return T.fail(null,"is not an object",0);for(var x=0;x<u.length;x++)if(!u[x](h,T))return!1;for(var x=0;x<d.length;x++){var w=a.props[x].name,S=h[w];if(S===void 0){if(g[x])return T.fail(w,"is missing",1)}else{var A=d[x](S,T);if(!A)return T.fail(w,null,1)}}return!0};if(!i)return L;var p=this.propSet;return r&&(this.propSet.forEach(function(h){return r.add(h)}),p=r),function(h,T){if(!L(h,T))return!1;for(var x in h)if(!p.has(x))return T.fail(x,"is extraneous",2);return!0}},t}(Ht);ce.TIface=op;function My(e){return new nl(ps(e))}ce.opt=My;var nl=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.ttype=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttype.getChecker(s,i);return function(a,u){return a===void 0||r(a,u)}},t}(Ht);ce.TOptional=nl;var Ja=function(){function e(t,s,i){this.name=t,this.ttype=s,this.isOpt=i}return e}();ce.TProp=Ja;function Fy(e){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];return new ap(new cp(t),ps(e))}ce.func=Fy;var ap=function(e){en(t,e);function t(s,i){var r=e.call(this)||this;return r.paramList=s,r.result=i,r}return t.prototype.getChecker=function(s,i){return function(r,a){return typeof r=="function"?!0:a.fail(null,"is not a function",0)}},t}(Ht);ce.TFunc=ap;function By(e,t,s){return new lp(e,ps(t),!!s)}ce.param=By;var lp=function(){function e(t,s,i){this.name=t,this.ttype=s,this.isOpt=i}return e}();ce.TParam=lp;var cp=function(e){en(t,e);function t(s){var i=e.call(this)||this;return i.params=s,i}return t.prototype.getChecker=function(s,i){var r=this,a=this.params.map(function(g){return g.ttype.getChecker(s,i)}),u=new Z1.NoopContext,d=this.params.map(function(g,L){return!g.isOpt&&!a[L](void 0,u)}),y=function(g,L){if(!Array.isArray(g))return L.fail(null,"is not an array",0);for(var p=0;p<a.length;p++){var h=r.params[p];if(g[p]===void 0){if(d[p])return L.fail(h.name,"is missing",1)}else{var T=a[p](g[p],L);if(!T)return L.fail(h.name,null,1)}}return!0};return i?function(g,L){return y(g,L)?g.length<=a.length?!0:L.fail(a.length,"is extraneous",2):!1}:y},t}(Ht);ce.TParamList=cp;var Ot=function(e){en(t,e);function t(s,i){var r=e.call(this)||this;return r.validator=s,r.message=i,r}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return r.validator(a)?!0:u.fail(null,r.message,0)}},t}(Ht);ce.BasicType=Ot;ce.basicTypes={any:new Ot(function(e){return!0},"is invalid"),number:new Ot(function(e){return typeof e=="number"},"is not a number"),object:new Ot(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Ot(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Ot(function(e){return typeof e=="string"},"is not a string"),symbol:new Ot(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Ot(function(e){return e==null},"is not void"),undefined:new Ot(function(e){return e===void 0},"is not undefined"),null:new Ot(function(e){return e===null},"is not null"),never:new Ot(function(e){return!1},"is unexpected"),Date:new Ot(J1("[object Date]"),"is not a Date"),RegExp:new Ot(J1("[object RegExp]"),"is not a RegExp")};var Vy=Object.prototype.toString;function J1(e){return function(t){return typeof t=="object"&&t&&Vy.call(t)===e}}typeof Buffer<"u"&&(ce.basicTypes.Buffer=new Ot(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var jy=function(e){ce.basicTypes[e.name]=new Ot(function(t){return t instanceof e},"is not a "+e.name)};for(ao=0,Ya=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];ao<Ya.length;ao++)Q1=Ya[ao],jy(Q1);var Q1,ao,Ya});var il=Z(Se=>{"use strict";var $y=Se&&Se.__spreadArrays||function(){for(var e=0,t=0,s=arguments.length;t<s;t++)e+=arguments[t].length;for(var i=Array(e),r=0,t=0;t<s;t++)for(var a=arguments[t],u=0,d=a.length;u<d;u++,r++)i[r]=a[u];return i};Object.defineProperty(Se,"__esModule",{value:!0});Se.Checker=Se.createCheckers=void 0;var zi=sl(),ui=oo(),Ge=sl();Object.defineProperty(Se,"TArray",{enumerable:!0,get:function(){return Ge.TArray}});Object.defineProperty(Se,"TEnumType",{enumerable:!0,get:function(){return Ge.TEnumType}});Object.defineProperty(Se,"TEnumLiteral",{enumerable:!0,get:function(){return Ge.TEnumLiteral}});Object.defineProperty(Se,"TFunc",{enumerable:!0,get:function(){return Ge.TFunc}});Object.defineProperty(Se,"TIface",{enumerable:!0,get:function(){return Ge.TIface}});Object.defineProperty(Se,"TLiteral",{enumerable:!0,get:function(){return Ge.TLiteral}});Object.defineProperty(Se,"TName",{enumerable:!0,get:function(){return Ge.TName}});Object.defineProperty(Se,"TOptional",{enumerable:!0,get:function(){return Ge.TOptional}});Object.defineProperty(Se,"TParam",{enumerable:!0,get:function(){return Ge.TParam}});Object.defineProperty(Se,"TParamList",{enumerable:!0,get:function(){return Ge.TParamList}});Object.defineProperty(Se,"TProp",{enumerable:!0,get:function(){return Ge.TProp}});Object.defineProperty(Se,"TTuple",{enumerable:!0,get:function(){return Ge.TTuple}});Object.defineProperty(Se,"TType",{enumerable:!0,get:function(){return Ge.TType}});Object.defineProperty(Se,"TUnion",{enumerable:!0,get:function(){return Ge.TUnion}});Object.defineProperty(Se,"TIntersection",{enumerable:!0,get:function(){return Ge.TIntersection}});Object.defineProperty(Se,"array",{enumerable:!0,get:function(){return Ge.array}});Object.defineProperty(Se,"enumlit",{enumerable:!0,get:function(){return Ge.enumlit}});Object.defineProperty(Se,"enumtype",{enumerable:!0,get:function(){return Ge.enumtype}});Object.defineProperty(Se,"func",{enumerable:!0,get:function(){return Ge.func}});Object.defineProperty(Se,"iface",{enumerable:!0,get:function(){return Ge.iface}});Object.defineProperty(Se,"lit",{enumerable:!0,get:function(){return Ge.lit}});Object.defineProperty(Se,"name",{enumerable:!0,get:function(){return Ge.name}});Object.defineProperty(Se,"opt",{enumerable:!0,get:function(){return Ge.opt}});Object.defineProperty(Se,"param",{enumerable:!0,get:function(){return Ge.param}});Object.defineProperty(Se,"tuple",{enumerable:!0,get:function(){return Ge.tuple}});Object.defineProperty(Se,"union",{enumerable:!0,get:function(){return Ge.union}});Object.defineProperty(Se,"intersection",{enumerable:!0,get:function(){return Ge.intersection}});Object.defineProperty(Se,"BasicType",{enumerable:!0,get:function(){return Ge.BasicType}});var qy=oo();Object.defineProperty(Se,"VError",{enumerable:!0,get:function(){return qy.VError}});function Ky(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var s=Object.assign.apply(Object,$y([{},zi.basicTypes],e)),i={},r=0,a=e;r<a.length;r++)for(var u=a[r],d=0,y=Object.keys(u);d<y.length;d++){var g=y[d];i[g]=new up(s,u[g])}return i}Se.createCheckers=Ky;var up=function(){function e(t,s,i){if(i===void 0&&(i="value"),this.suite=t,this.ttype=s,this._path=i,this.props=new Map,s instanceof zi.TIface)for(var r=0,a=s.props;r<a.length;r++){var u=a[r];this.props.set(u.name,u.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return e.prototype.setReportedPath=function(t){this._path=t},e.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},e.prototype.test=function(t){return this.checkerPlain(t,new ui.NoopContext)},e.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},e.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},e.prototype.strictTest=function(t){return this.checkerStrict(t,new ui.NoopContext)},e.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},e.prototype.getProp=function(t){var s=this.props.get(t);if(!s)throw new Error("Type has no property "+t);return new e(this.suite,s,this._path+"."+t)},e.prototype.methodArgs=function(t){var s=this._getMethod(t);return new e(this.suite,s.paramList)},e.prototype.methodResult=function(t){var s=this._getMethod(t);return new e(this.suite,s.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof zi.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof zi.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(t,s){var i=new ui.NoopContext;if(!t(s,i)){var r=new ui.DetailContext;throw t(s,r),r.getError(this._path)}},e.prototype._doValidate=function(t,s){var i=new ui.NoopContext;if(t(s,i))return null;var r=new ui.DetailContext;return t(s,r),r.getErrorDetail(this._path)},e.prototype._getMethod=function(t){var s=this.props.get(t);if(!s)throw new Error("Type has no property "+t);if(!(s instanceof zi.TFunc))throw new Error("Property "+t+" is not a method");return s},e}();Se.Checker=up});var pp=Z(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});function Uy(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}var Hy=il(),et=Uy(Hy),Wy=et.union(et.lit("jsx"),et.lit("typescript"),et.lit("flow"),et.lit("imports"),et.lit("react-hot-loader"),et.lit("jest"));Gn.Transform=Wy;var Gy=et.iface([],{compiledFilename:"string"});Gn.SourceMapOptions=Gy;var zy=et.iface([],{transforms:et.array("Transform"),disableESTransforms:et.opt("boolean"),jsxRuntime:et.opt(et.union(et.lit("classic"),et.lit("automatic"),et.lit("preserve"))),production:et.opt("boolean"),jsxImportSource:et.opt("string"),jsxPragma:et.opt("string"),jsxFragmentPragma:et.opt("string"),preserveDynamicImport:et.opt("boolean"),injectCreateRequireForImportRequire:et.opt("boolean"),enableLegacyTypeScriptModuleInterop:et.opt("boolean"),enableLegacyBabel5ModuleInterop:et.opt("boolean"),sourceMapOptions:et.opt("SourceMapOptions"),filePath:et.opt("string")});Gn.Options=zy;var Xy={Transform:Gn.Transform,SourceMapOptions:Gn.SourceMapOptions,Options:Gn.Options};Gn.default=Xy});var hp=Z(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});function Yy(e){return e&&e.__esModule?e:{default:e}}var Jy=il(),Qy=pp(),Zy=Yy(Qy),{Options:eT}=Jy.createCheckers.call(void 0,Zy.default);function tT(e){eT.strictCheck(e)}rl.validateOptions=tT});var lo=Z(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});var nT=Ji(),fp=pi(),Dt=gt(),Xi=St(),pn=Ce(),_t=Jt(),Yi=Ns(),ol=cs();function sT(){Dt.next.call(void 0),Yi.parseMaybeAssign.call(void 0,!1)}Nn.parseSpread=sT;function dp(e){Dt.next.call(void 0),ll(e)}Nn.parseRest=dp;function mp(e){Yi.parseIdentifier.call(void 0),yp(e)}Nn.parseBindingIdentifier=mp;function iT(){Yi.parseIdentifier.call(void 0),_t.state.tokens[_t.state.tokens.length-1].identifierRole=Dt.IdentifierRole.ImportDeclaration}Nn.parseImportedIdentifier=iT;function yp(e){let t;_t.state.scopeDepth===0?t=Dt.IdentifierRole.TopLevelDeclaration:e?t=Dt.IdentifierRole.BlockScopedDeclaration:t=Dt.IdentifierRole.FunctionScopedDeclaration,_t.state.tokens[_t.state.tokens.length-1].identifierRole=t}Nn.markPriorBindingIdentifier=yp;function ll(e){switch(_t.state.type){case pn.TokenType._this:{let t=Dt.pushTypeContext.call(void 0,0);Dt.next.call(void 0),Dt.popTypeContext.call(void 0,t);return}case pn.TokenType._yield:case pn.TokenType.name:{_t.state.type=pn.TokenType.name,mp(e);return}case pn.TokenType.bracketL:{Dt.next.call(void 0),Tp(pn.TokenType.bracketR,e,!0);return}case pn.TokenType.braceL:Yi.parseObj.call(void 0,!0,e);return;default:ol.unexpected.call(void 0)}}Nn.parseBindingAtom=ll;function Tp(e,t,s=!1,i=!1,r=0){let a=!0,u=!1,d=_t.state.tokens.length;for(;!Dt.eat.call(void 0,e)&&!_t.state.error;)if(a?a=!1:(ol.expect.call(void 0,pn.TokenType.comma),_t.state.tokens[_t.state.tokens.length-1].contextId=r,!u&&_t.state.tokens[d].isType&&(_t.state.tokens[_t.state.tokens.length-1].isType=!0,u=!0)),!(s&&Dt.match.call(void 0,pn.TokenType.comma))){if(Dt.eat.call(void 0,e))break;if(Dt.match.call(void 0,pn.TokenType.ellipsis)){dp(t),kp(),Dt.eat.call(void 0,pn.TokenType.comma),ol.expect.call(void 0,e);break}else rT(i,t)}}Nn.parseBindingList=Tp;function rT(e,t){e&&fp.tsParseModifiers.call(void 0,[Xi.ContextualKeyword._public,Xi.ContextualKeyword._protected,Xi.ContextualKeyword._private,Xi.ContextualKeyword._readonly,Xi.ContextualKeyword._override]),al(t),kp(),al(t,!0)}function kp(){_t.isFlowEnabled?nT.flowParseAssignableListItemTypes.call(void 0):_t.isTypeScriptEnabled&&fp.tsParseAssignableListItemTypes.call(void 0)}function al(e,t=!1){if(t||ll(e),!Dt.eat.call(void 0,pn.TokenType.eq))return;let s=_t.state.tokens.length-1;Yi.parseMaybeAssign.call(void 0),_t.state.tokens[s].rhsEndIndex=_t.state.tokens.length}Nn.parseMaybeDefault=al});var pi=Z(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});var v=gt(),oe=St(),k=Ce(),I=Jt(),_e=Ns(),fi=lo(),Rn=nr(),H=cs(),oT=vl();function ul(){return v.match.call(void 0,k.TokenType.name)}function aT(){return v.match.call(void 0,k.TokenType.name)||!!(I.state.type&k.TokenType.IS_KEYWORD)||v.match.call(void 0,k.TokenType.string)||v.match.call(void 0,k.TokenType.num)||v.match.call(void 0,k.TokenType.bigint)||v.match.call(void 0,k.TokenType.decimal)}function bp(){let e=I.state.snapshot();return v.next.call(void 0),(v.match.call(void 0,k.TokenType.bracketL)||v.match.call(void 0,k.TokenType.braceL)||v.match.call(void 0,k.TokenType.star)||v.match.call(void 0,k.TokenType.ellipsis)||v.match.call(void 0,k.TokenType.hash)||aT())&&!H.hasPrecedingLineBreak.call(void 0)?!0:(I.state.restoreFromSnapshot(e),!1)}function Cp(e){for(;dl(e)!==null;);}Oe.tsParseModifiers=Cp;function dl(e){if(!v.match.call(void 0,k.TokenType.name))return null;let t=I.state.contextualKeyword;if(e.indexOf(t)!==-1&&bp()){switch(t){case oe.ContextualKeyword._readonly:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._readonly;break;case oe.ContextualKeyword._abstract:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._abstract;break;case oe.ContextualKeyword._static:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._static;break;case oe.ContextualKeyword._public:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._public;break;case oe.ContextualKeyword._private:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._private;break;case oe.ContextualKeyword._protected:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._protected;break;case oe.ContextualKeyword._override:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._override;break;case oe.ContextualKeyword._declare:I.state.tokens[I.state.tokens.length-1].type=k.TokenType._declare;break;default:break}return t}return null}Oe.tsParseModifier=dl;function Zi(){for(_e.parseIdentifier.call(void 0);v.eat.call(void 0,k.TokenType.dot);)_e.parseIdentifier.call(void 0)}function lT(){Zi(),!H.hasPrecedingLineBreak.call(void 0)&&v.match.call(void 0,k.TokenType.lessThan)&&mi()}function cT(){v.next.call(void 0),tr()}function uT(){v.next.call(void 0)}function pT(){H.expect.call(void 0,k.TokenType._typeof),v.match.call(void 0,k.TokenType._import)?wp():Zi(),!H.hasPrecedingLineBreak.call(void 0)&&v.match.call(void 0,k.TokenType.lessThan)&&mi()}function wp(){H.expect.call(void 0,k.TokenType._import),H.expect.call(void 0,k.TokenType.parenL),H.expect.call(void 0,k.TokenType.string),H.expect.call(void 0,k.TokenType.parenR),v.eat.call(void 0,k.TokenType.dot)&&Zi(),v.match.call(void 0,k.TokenType.lessThan)&&mi()}function hT(){v.eat.call(void 0,k.TokenType._const);let e=v.eat.call(void 0,k.TokenType._in),t=H.eatContextual.call(void 0,oe.ContextualKeyword._out);v.eat.call(void 0,k.TokenType._const),(e||t)&&!v.match.call(void 0,k.TokenType.name)?I.state.tokens[I.state.tokens.length-1].type=k.TokenType.name:_e.parseIdentifier.call(void 0),v.eat.call(void 0,k.TokenType._extends)&&at(),v.eat.call(void 0,k.TokenType.eq)&&at()}function di(){v.match.call(void 0,k.TokenType.lessThan)&&uo()}Oe.tsTryParseTypeParameters=di;function uo(){let e=v.pushTypeContext.call(void 0,0);for(v.match.call(void 0,k.TokenType.lessThan)||v.match.call(void 0,k.TokenType.typeParameterStart)?v.next.call(void 0):H.unexpected.call(void 0);!v.eat.call(void 0,k.TokenType.greaterThan)&&!I.state.error;)hT(),v.eat.call(void 0,k.TokenType.comma);v.popTypeContext.call(void 0,e)}function ml(e){let t=e===k.TokenType.arrow;di(),H.expect.call(void 0,k.TokenType.parenL),I.state.scopeDepth++,fT(!1),I.state.scopeDepth--,(t||v.match.call(void 0,e))&&Qi(e)}function fT(e){fi.parseBindingList.call(void 0,k.TokenType.parenR,e)}function co(){v.eat.call(void 0,k.TokenType.comma)||H.semicolon.call(void 0)}function vp(){ml(k.TokenType.colon),co()}function dT(){let e=I.state.snapshot();v.next.call(void 0);let t=v.eat.call(void 0,k.TokenType.name)&&v.match.call(void 0,k.TokenType.colon);return I.state.restoreFromSnapshot(e),t}function Sp(){if(!(v.match.call(void 0,k.TokenType.bracketL)&&dT()))return!1;let e=v.pushTypeContext.call(void 0,0);return H.expect.call(void 0,k.TokenType.bracketL),_e.parseIdentifier.call(void 0),tr(),H.expect.call(void 0,k.TokenType.bracketR),er(),co(),v.popTypeContext.call(void 0,e),!0}function xp(e){v.eat.call(void 0,k.TokenType.question),!e&&(v.match.call(void 0,k.TokenType.parenL)||v.match.call(void 0,k.TokenType.lessThan))?(ml(k.TokenType.colon),co()):(er(),co())}function mT(){if(v.match.call(void 0,k.TokenType.parenL)||v.match.call(void 0,k.TokenType.lessThan)){vp();return}if(v.match.call(void 0,k.TokenType._new)){v.next.call(void 0),v.match.call(void 0,k.TokenType.parenL)||v.match.call(void 0,k.TokenType.lessThan)?vp():xp(!1);return}let e=!!dl([oe.ContextualKeyword._readonly]);Sp()||((H.isContextual.call(void 0,oe.ContextualKeyword._get)||H.isContextual.call(void 0,oe.ContextualKeyword._set))&&bp(),_e.parsePropertyName.call(void 0,-1),xp(e))}function yT(){Ip()}function Ip(){for(H.expect.call(void 0,k.TokenType.braceL);!v.eat.call(void 0,k.TokenType.braceR)&&!I.state.error;)mT()}function TT(){let e=I.state.snapshot(),t=kT();return I.state.restoreFromSnapshot(e),t}function kT(){return v.next.call(void 0),v.eat.call(void 0,k.TokenType.plus)||v.eat.call(void 0,k.TokenType.minus)?H.isContextual.call(void 0,oe.ContextualKeyword._readonly):(H.isContextual.call(void 0,oe.ContextualKeyword._readonly)&&v.next.call(void 0),!v.match.call(void 0,k.TokenType.bracketL)||(v.next.call(void 0),!ul())?!1:(v.next.call(void 0),v.match.call(void 0,k.TokenType._in)))}function vT(){_e.parseIdentifier.call(void 0),H.expect.call(void 0,k.TokenType._in),at()}function xT(){H.expect.call(void 0,k.TokenType.braceL),v.match.call(void 0,k.TokenType.plus)||v.match.call(void 0,k.TokenType.minus)?(v.next.call(void 0),H.expectContextual.call(void 0,oe.ContextualKeyword._readonly)):H.eatContextual.call(void 0,oe.ContextualKeyword._readonly),H.expect.call(void 0,k.TokenType.bracketL),vT(),H.eatContextual.call(void 0,oe.ContextualKeyword._as)&&at(),H.expect.call(void 0,k.TokenType.bracketR),v.match.call(void 0,k.TokenType.plus)||v.match.call(void 0,k.TokenType.minus)?(v.next.call(void 0),H.expect.call(void 0,k.TokenType.question)):v.eat.call(void 0,k.TokenType.question),OT(),H.semicolon.call(void 0),H.expect.call(void 0,k.TokenType.braceR)}function gT(){for(H.expect.call(void 0,k.TokenType.bracketL);!v.eat.call(void 0,k.TokenType.bracketR)&&!I.state.error;)_T(),v.eat.call(void 0,k.TokenType.comma)}function _T(){v.eat.call(void 0,k.TokenType.ellipsis)?at():(at(),v.eat.call(void 0,k.TokenType.question)),v.eat.call(void 0,k.TokenType.colon)&&at()}function bT(){H.expect.call(void 0,k.TokenType.parenL),at(),H.expect.call(void 0,k.TokenType.parenR)}function CT(){for(v.nextTemplateToken.call(void 0),v.nextTemplateToken.call(void 0);!v.match.call(void 0,k.TokenType.backQuote)&&!I.state.error;)H.expect.call(void 0,k.TokenType.dollarBraceL),at(),v.nextTemplateToken.call(void 0),v.nextTemplateToken.call(void 0);v.next.call(void 0)}var hs;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let s=1;e[e.TSConstructorType=s]="TSConstructorType";let i=s+1;e[e.TSAbstractConstructorType=i]="TSAbstractConstructorType"})(hs||(hs={}));function cl(e){e===hs.TSAbstractConstructorType&&H.expectContextual.call(void 0,oe.ContextualKeyword._abstract),(e===hs.TSConstructorType||e===hs.TSAbstractConstructorType)&&H.expect.call(void 0,k.TokenType._new);let t=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!1,ml(k.TokenType.arrow),I.state.inDisallowConditionalTypesContext=t}function wT(){switch(I.state.type){case k.TokenType.name:lT();return;case k.TokenType._void:case k.TokenType._null:v.next.call(void 0);return;case k.TokenType.string:case k.TokenType.num:case k.TokenType.bigint:case k.TokenType.decimal:case k.TokenType._true:case k.TokenType._false:_e.parseLiteral.call(void 0);return;case k.TokenType.minus:v.next.call(void 0),_e.parseLiteral.call(void 0);return;case k.TokenType._this:{uT(),H.isContextual.call(void 0,oe.ContextualKeyword._is)&&!H.hasPrecedingLineBreak.call(void 0)&&cT();return}case k.TokenType._typeof:pT();return;case k.TokenType._import:wp();return;case k.TokenType.braceL:TT()?xT():yT();return;case k.TokenType.bracketL:gT();return;case k.TokenType.parenL:bT();return;case k.TokenType.backQuote:CT();return;default:if(I.state.type&k.TokenType.IS_KEYWORD){v.next.call(void 0),I.state.tokens[I.state.tokens.length-1].type=k.TokenType.name;return}break}H.unexpected.call(void 0)}function ST(){for(wT();!H.hasPrecedingLineBreak.call(void 0)&&v.eat.call(void 0,k.TokenType.bracketL);)v.eat.call(void 0,k.TokenType.bracketR)||(at(),H.expect.call(void 0,k.TokenType.bracketR))}function IT(){if(H.expectContextual.call(void 0,oe.ContextualKeyword._infer),_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType._extends)){let e=I.state.snapshot();H.expect.call(void 0,k.TokenType._extends);let t=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!0,at(),I.state.inDisallowConditionalTypesContext=t,(I.state.error||!I.state.inDisallowConditionalTypesContext&&v.match.call(void 0,k.TokenType.question))&&I.state.restoreFromSnapshot(e)}}function pl(){if(H.isContextual.call(void 0,oe.ContextualKeyword._keyof)||H.isContextual.call(void 0,oe.ContextualKeyword._unique)||H.isContextual.call(void 0,oe.ContextualKeyword._readonly))v.next.call(void 0),pl();else if(H.isContextual.call(void 0,oe.ContextualKeyword._infer))IT();else{let e=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!1,ST(),I.state.inDisallowConditionalTypesContext=e}}function gp(){if(v.eat.call(void 0,k.TokenType.bitwiseAND),pl(),v.match.call(void 0,k.TokenType.bitwiseAND))for(;v.eat.call(void 0,k.TokenType.bitwiseAND);)pl()}function ET(){if(v.eat.call(void 0,k.TokenType.bitwiseOR),gp(),v.match.call(void 0,k.TokenType.bitwiseOR))for(;v.eat.call(void 0,k.TokenType.bitwiseOR);)gp()}function AT(){return v.match.call(void 0,k.TokenType.lessThan)?!0:v.match.call(void 0,k.TokenType.parenL)&&NT()}function PT(){if(v.match.call(void 0,k.TokenType.name)||v.match.call(void 0,k.TokenType._this))return v.next.call(void 0),!0;if(v.match.call(void 0,k.TokenType.braceL)||v.match.call(void 0,k.TokenType.bracketL)){let e=1;for(v.next.call(void 0);e>0&&!I.state.error;)v.match.call(void 0,k.TokenType.braceL)||v.match.call(void 0,k.TokenType.bracketL)?e++:(v.match.call(void 0,k.TokenType.braceR)||v.match.call(void 0,k.TokenType.bracketR))&&e--,v.next.call(void 0);return!0}return!1}function NT(){let e=I.state.snapshot(),t=RT();return I.state.restoreFromSnapshot(e),t}function RT(){return v.next.call(void 0),!!(v.match.call(void 0,k.TokenType.parenR)||v.match.call(void 0,k.TokenType.ellipsis)||PT()&&(v.match.call(void 0,k.TokenType.colon)||v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.question)||v.match.call(void 0,k.TokenType.eq)||v.match.call(void 0,k.TokenType.parenR)&&(v.next.call(void 0),v.match.call(void 0,k.TokenType.arrow))))}function Qi(e){let t=v.pushTypeContext.call(void 0,0);H.expect.call(void 0,e),DT()||at(),v.popTypeContext.call(void 0,t)}function LT(){v.match.call(void 0,k.TokenType.colon)&&Qi(k.TokenType.colon)}function er(){v.match.call(void 0,k.TokenType.colon)&&tr()}Oe.tsTryParseTypeAnnotation=er;function OT(){v.eat.call(void 0,k.TokenType.colon)&&at()}function DT(){let e=I.state.snapshot();return H.isContextual.call(void 0,oe.ContextualKeyword._asserts)?(v.next.call(void 0),H.eatContextual.call(void 0,oe.ContextualKeyword._is)?(at(),!0):ul()||v.match.call(void 0,k.TokenType._this)?(v.next.call(void 0),H.eatContextual.call(void 0,oe.ContextualKeyword._is)&&at(),!0):(I.state.restoreFromSnapshot(e),!1)):ul()||v.match.call(void 0,k.TokenType._this)?(v.next.call(void 0),H.isContextual.call(void 0,oe.ContextualKeyword._is)&&!H.hasPrecedingLineBreak.call(void 0)?(v.next.call(void 0),at(),!0):(I.state.restoreFromSnapshot(e),!1)):!1}function tr(){let e=v.pushTypeContext.call(void 0,0);H.expect.call(void 0,k.TokenType.colon),at(),v.popTypeContext.call(void 0,e)}Oe.tsParseTypeAnnotation=tr;function at(){if(hl(),I.state.inDisallowConditionalTypesContext||H.hasPrecedingLineBreak.call(void 0)||!v.eat.call(void 0,k.TokenType._extends))return;let e=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!0,hl(),I.state.inDisallowConditionalTypesContext=e,H.expect.call(void 0,k.TokenType.question),at(),H.expect.call(void 0,k.TokenType.colon),at()}Oe.tsParseType=at;function MT(){return H.isContextual.call(void 0,oe.ContextualKeyword._abstract)&&v.lookaheadType.call(void 0)===k.TokenType._new}function hl(){if(AT()){cl(hs.TSFunctionType);return}if(v.match.call(void 0,k.TokenType._new)){cl(hs.TSConstructorType);return}else if(MT()){cl(hs.TSAbstractConstructorType);return}ET()}Oe.tsParseNonConditionalType=hl;function FT(){let e=v.pushTypeContext.call(void 0,1);at(),H.expect.call(void 0,k.TokenType.greaterThan),v.popTypeContext.call(void 0,e),_e.parseMaybeUnary.call(void 0)}Oe.tsParseTypeAssertion=FT;function BT(){if(v.eat.call(void 0,k.TokenType.jsxTagStart)){I.state.tokens[I.state.tokens.length-1].type=k.TokenType.typeParameterStart;let e=v.pushTypeContext.call(void 0,1);for(;!v.match.call(void 0,k.TokenType.greaterThan)&&!I.state.error;)at(),v.eat.call(void 0,k.TokenType.comma);oT.nextJSXTagToken.call(void 0),v.popTypeContext.call(void 0,e)}}Oe.tsTryParseJSXTypeArgument=BT;function Ep(){for(;!v.match.call(void 0,k.TokenType.braceL)&&!I.state.error;)VT(),v.eat.call(void 0,k.TokenType.comma)}function VT(){Zi(),v.match.call(void 0,k.TokenType.lessThan)&&mi()}function jT(){fi.parseBindingIdentifier.call(void 0,!1),di(),v.eat.call(void 0,k.TokenType._extends)&&Ep(),Ip()}function $T(){fi.parseBindingIdentifier.call(void 0,!1),di(),H.expect.call(void 0,k.TokenType.eq),at(),H.semicolon.call(void 0)}function qT(){if(v.match.call(void 0,k.TokenType.string)?_e.parseLiteral.call(void 0):_e.parseIdentifier.call(void 0),v.eat.call(void 0,k.TokenType.eq)){let e=I.state.tokens.length-1;_e.parseMaybeAssign.call(void 0),I.state.tokens[e].rhsEndIndex=I.state.tokens.length}}function yl(){for(fi.parseBindingIdentifier.call(void 0,!1),H.expect.call(void 0,k.TokenType.braceL);!v.eat.call(void 0,k.TokenType.braceR)&&!I.state.error;)qT(),v.eat.call(void 0,k.TokenType.comma)}function Tl(){H.expect.call(void 0,k.TokenType.braceL),Rn.parseBlockBody.call(void 0,k.TokenType.braceR)}function fl(){fi.parseBindingIdentifier.call(void 0,!1),v.eat.call(void 0,k.TokenType.dot)?fl():Tl()}function Ap(){H.isContextual.call(void 0,oe.ContextualKeyword._global)?_e.parseIdentifier.call(void 0):v.match.call(void 0,k.TokenType.string)?_e.parseExprAtom.call(void 0):H.unexpected.call(void 0),v.match.call(void 0,k.TokenType.braceL)?Tl():H.semicolon.call(void 0)}function Pp(){fi.parseImportedIdentifier.call(void 0),H.expect.call(void 0,k.TokenType.eq),UT(),H.semicolon.call(void 0)}Oe.tsParseImportEqualsDeclaration=Pp;function KT(){return H.isContextual.call(void 0,oe.ContextualKeyword._require)&&v.lookaheadType.call(void 0)===k.TokenType.parenL}function UT(){KT()?HT():Zi()}function HT(){H.expectContextual.call(void 0,oe.ContextualKeyword._require),H.expect.call(void 0,k.TokenType.parenL),v.match.call(void 0,k.TokenType.string)||H.unexpected.call(void 0),_e.parseLiteral.call(void 0),H.expect.call(void 0,k.TokenType.parenR)}function WT(){if(H.isLineTerminator.call(void 0))return!1;switch(I.state.type){case k.TokenType._function:{let e=v.pushTypeContext.call(void 0,1);v.next.call(void 0);let t=I.state.start;return Rn.parseFunction.call(void 0,t,!0),v.popTypeContext.call(void 0,e),!0}case k.TokenType._class:{let e=v.pushTypeContext.call(void 0,1);return Rn.parseClass.call(void 0,!0,!1),v.popTypeContext.call(void 0,e),!0}case k.TokenType._const:if(v.match.call(void 0,k.TokenType._const)&&H.isLookaheadContextual.call(void 0,oe.ContextualKeyword._enum)){let e=v.pushTypeContext.call(void 0,1);return H.expect.call(void 0,k.TokenType._const),H.expectContextual.call(void 0,oe.ContextualKeyword._enum),I.state.tokens[I.state.tokens.length-1].type=k.TokenType._enum,yl(),v.popTypeContext.call(void 0,e),!0}case k.TokenType._var:case k.TokenType._let:{let e=v.pushTypeContext.call(void 0,1);return Rn.parseVarStatement.call(void 0,I.state.type!==k.TokenType._var),v.popTypeContext.call(void 0,e),!0}case k.TokenType.name:{let e=v.pushTypeContext.call(void 0,1),t=I.state.contextualKeyword,s=!1;return t===oe.ContextualKeyword._global?(Ap(),s=!0):s=po(t,!0),v.popTypeContext.call(void 0,e),s}default:return!1}}function _p(){return po(I.state.contextualKeyword,!0)}function GT(e){switch(e){case oe.ContextualKeyword._declare:{let t=I.state.tokens.length-1;if(WT())return I.state.tokens[t].type=k.TokenType._declare,!0;break}case oe.ContextualKeyword._global:if(v.match.call(void 0,k.TokenType.braceL))return Tl(),!0;break;default:return po(e,!1)}return!1}function po(e,t){switch(e){case oe.ContextualKeyword._abstract:if(hi(t)&&v.match.call(void 0,k.TokenType._class))return I.state.tokens[I.state.tokens.length-1].type=k.TokenType._abstract,Rn.parseClass.call(void 0,!0,!1),!0;break;case oe.ContextualKeyword._enum:if(hi(t)&&v.match.call(void 0,k.TokenType.name))return I.state.tokens[I.state.tokens.length-1].type=k.TokenType._enum,yl(),!0;break;case oe.ContextualKeyword._interface:if(hi(t)&&v.match.call(void 0,k.TokenType.name)){let s=v.pushTypeContext.call(void 0,t?2:1);return jT(),v.popTypeContext.call(void 0,s),!0}break;case oe.ContextualKeyword._module:if(hi(t)){if(v.match.call(void 0,k.TokenType.string)){let s=v.pushTypeContext.call(void 0,t?2:1);return Ap(),v.popTypeContext.call(void 0,s),!0}else if(v.match.call(void 0,k.TokenType.name)){let s=v.pushTypeContext.call(void 0,t?2:1);return fl(),v.popTypeContext.call(void 0,s),!0}}break;case oe.ContextualKeyword._namespace:if(hi(t)&&v.match.call(void 0,k.TokenType.name)){let s=v.pushTypeContext.call(void 0,t?2:1);return fl(),v.popTypeContext.call(void 0,s),!0}break;case oe.ContextualKeyword._type:if(hi(t)&&v.match.call(void 0,k.TokenType.name)){let s=v.pushTypeContext.call(void 0,t?2:1);return $T(),v.popTypeContext.call(void 0,s),!0}break;default:break}return!1}function hi(e){return e?(v.next.call(void 0),!0):!H.isLineTerminator.call(void 0)}function zT(){let e=I.state.snapshot();return uo(),Rn.parseFunctionParams.call(void 0),LT(),H.expect.call(void 0,k.TokenType.arrow),I.state.error?(I.state.restoreFromSnapshot(e),!1):(_e.parseFunctionBody.call(void 0,!0),!0)}function kl(){I.state.type===k.TokenType.bitShiftL&&(I.state.pos-=1,v.finishToken.call(void 0,k.TokenType.lessThan)),mi()}function mi(){let e=v.pushTypeContext.call(void 0,0);for(H.expect.call(void 0,k.TokenType.lessThan);!v.eat.call(void 0,k.TokenType.greaterThan)&&!I.state.error;)at(),v.eat.call(void 0,k.TokenType.comma);v.popTypeContext.call(void 0,e)}function XT(){if(v.match.call(void 0,k.TokenType.name))switch(I.state.contextualKeyword){case oe.ContextualKeyword._abstract:case oe.ContextualKeyword._declare:case oe.ContextualKeyword._enum:case oe.ContextualKeyword._interface:case oe.ContextualKeyword._module:case oe.ContextualKeyword._namespace:case oe.ContextualKeyword._type:return!0;default:break}return!1}Oe.tsIsDeclarationStart=XT;function YT(e,t){if(v.match.call(void 0,k.TokenType.colon)&&Qi(k.TokenType.colon),!v.match.call(void 0,k.TokenType.braceL)&&H.isLineTerminator.call(void 0)){let s=I.state.tokens.length-1;for(;s>=0&&(I.state.tokens[s].start>=e||I.state.tokens[s].type===k.TokenType._default||I.state.tokens[s].type===k.TokenType._export);)I.state.tokens[s].isType=!0,s--;return}_e.parseFunctionBody.call(void 0,!1,t)}Oe.tsParseFunctionBodyAndFinish=YT;function JT(e,t,s){if(!H.hasPrecedingLineBreak.call(void 0)&&v.eat.call(void 0,k.TokenType.bang)){I.state.tokens[I.state.tokens.length-1].type=k.TokenType.nonNullAssertion;return}if(v.match.call(void 0,k.TokenType.lessThan)||v.match.call(void 0,k.TokenType.bitShiftL)){let i=I.state.snapshot();if(!t&&_e.atPossibleAsync.call(void 0)&&zT())return;if(kl(),!t&&v.eat.call(void 0,k.TokenType.parenL)?(I.state.tokens[I.state.tokens.length-1].subscriptStartIndex=e,_e.parseCallExpressionArguments.call(void 0)):v.match.call(void 0,k.TokenType.backQuote)?_e.parseTemplate.call(void 0):(I.state.type===k.TokenType.greaterThan||I.state.type!==k.TokenType.parenL&&I.state.type&k.TokenType.IS_EXPRESSION_START&&!H.hasPrecedingLineBreak.call(void 0))&&H.unexpected.call(void 0),I.state.error)I.state.restoreFromSnapshot(i);else return}else!t&&v.match.call(void 0,k.TokenType.questionDot)&&v.lookaheadType.call(void 0)===k.TokenType.lessThan&&(v.next.call(void 0),I.state.tokens[e].isOptionalChainStart=!0,I.state.tokens[I.state.tokens.length-1].subscriptStartIndex=e,mi(),H.expect.call(void 0,k.TokenType.parenL),_e.parseCallExpressionArguments.call(void 0));_e.baseParseSubscript.call(void 0,e,t,s)}Oe.tsParseSubscript=JT;function QT(){if(v.eat.call(void 0,k.TokenType._import))return H.isContextual.call(void 0,oe.ContextualKeyword._type)&&v.lookaheadType.call(void 0)!==k.TokenType.eq&&H.expectContextual.call(void 0,oe.ContextualKeyword._type),Pp(),!0;if(v.eat.call(void 0,k.TokenType.eq))return _e.parseExpression.call(void 0),H.semicolon.call(void 0),!0;if(H.eatContextual.call(void 0,oe.ContextualKeyword._as))return H.expectContextual.call(void 0,oe.ContextualKeyword._namespace),_e.parseIdentifier.call(void 0),H.semicolon.call(void 0),!0;if(H.isContextual.call(void 0,oe.ContextualKeyword._type)){let e=v.lookaheadType.call(void 0);(e===k.TokenType.braceL||e===k.TokenType.star)&&v.next.call(void 0)}return!1}Oe.tsTryParseExport=QT;function ZT(){if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ImportDeclaration;return}if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ImportDeclaration,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0;return}if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-3].identifierRole=v.IdentifierRole.ImportAccess,I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ImportDeclaration;return}_e.parseIdentifier.call(void 0),I.state.tokens[I.state.tokens.length-3].identifierRole=v.IdentifierRole.ImportAccess,I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ImportDeclaration,I.state.tokens[I.state.tokens.length-4].isType=!0,I.state.tokens[I.state.tokens.length-3].isType=!0,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0}Oe.tsParseImportSpecifier=ZT;function ek(){if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ExportAccess;return}if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=v.IdentifierRole.ExportAccess,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0;return}if(_e.parseIdentifier.call(void 0),v.match.call(void 0,k.TokenType.comma)||v.match.call(void 0,k.TokenType.braceR)){I.state.tokens[I.state.tokens.length-3].identifierRole=v.IdentifierRole.ExportAccess;return}_e.parseIdentifier.call(void 0),I.state.tokens[I.state.tokens.length-3].identifierRole=v.IdentifierRole.ExportAccess,I.state.tokens[I.state.tokens.length-4].isType=!0,I.state.tokens[I.state.tokens.length-3].isType=!0,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0}Oe.tsParseExportSpecifier=ek;function tk(){if(H.isContextual.call(void 0,oe.ContextualKeyword._abstract)&&v.lookaheadType.call(void 0)===k.TokenType._class)return I.state.type=k.TokenType._abstract,v.next.call(void 0),Rn.parseClass.call(void 0,!0,!0),!0;if(H.isContextual.call(void 0,oe.ContextualKeyword._interface)){let e=v.pushTypeContext.call(void 0,2);return po(oe.ContextualKeyword._interface,!0),v.popTypeContext.call(void 0,e),!0}return!1}Oe.tsTryParseExportDefaultExpression=tk;function nk(){if(I.state.type===k.TokenType._const){let e=v.lookaheadTypeAndKeyword.call(void 0);if(e.type===k.TokenType.name&&e.contextualKeyword===oe.ContextualKeyword._enum)return H.expect.call(void 0,k.TokenType._const),H.expectContextual.call(void 0,oe.ContextualKeyword._enum),I.state.tokens[I.state.tokens.length-1].type=k.TokenType._enum,yl(),!0}return!1}Oe.tsTryParseStatementContent=nk;function sk(e){let t=I.state.tokens.length;Cp([oe.ContextualKeyword._abstract,oe.ContextualKeyword._readonly,oe.ContextualKeyword._declare,oe.ContextualKeyword._static,oe.ContextualKeyword._override]);let s=I.state.tokens.length;if(Sp()){let r=e?t-1:t;for(let a=r;a<s;a++)I.state.tokens[a].isType=!0;return!0}return!1}Oe.tsTryParseClassMemberWithIsStatic=sk;function ik(e){GT(e)||H.semicolon.call(void 0)}Oe.tsParseIdentifierStatement=ik;function rk(){let e=H.eatContextual.call(void 0,oe.ContextualKeyword._declare);e&&(I.state.tokens[I.state.tokens.length-1].type=k.TokenType._declare);let t=!1;if(v.match.call(void 0,k.TokenType.name))if(e){let s=v.pushTypeContext.call(void 0,2);t=_p(),v.popTypeContext.call(void 0,s)}else t=_p();if(!t)if(e){let s=v.pushTypeContext.call(void 0,2);Rn.parseStatement.call(void 0,!0),v.popTypeContext.call(void 0,s)}else Rn.parseStatement.call(void 0,!0)}Oe.tsParseExportDeclaration=rk;function ok(e){if(e&&(v.match.call(void 0,k.TokenType.lessThan)||v.match.call(void 0,k.TokenType.bitShiftL))&&kl(),H.eatContextual.call(void 0,oe.ContextualKeyword._implements)){I.state.tokens[I.state.tokens.length-1].type=k.TokenType._implements;let t=v.pushTypeContext.call(void 0,1);Ep(),v.popTypeContext.call(void 0,t)}}Oe.tsAfterParseClassSuper=ok;function ak(){di()}Oe.tsStartParseObjPropValue=ak;function lk(){di()}Oe.tsStartParseFunctionParams=lk;function ck(){let e=v.pushTypeContext.call(void 0,0);H.hasPrecedingLineBreak.call(void 0)||v.eat.call(void 0,k.TokenType.bang),er(),v.popTypeContext.call(void 0,e)}Oe.tsAfterParseVarHead=ck;function uk(){v.match.call(void 0,k.TokenType.colon)&&tr()}Oe.tsStartParseAsyncArrowFromCallExpression=uk;function pk(e,t){return I.isJSXEnabled?Np(e,t):Rp(e,t)}Oe.tsParseMaybeAssign=pk;function Np(e,t){if(!v.match.call(void 0,k.TokenType.lessThan))return _e.baseParseMaybeAssign.call(void 0,e,t);let s=I.state.snapshot(),i=_e.baseParseMaybeAssign.call(void 0,e,t);if(I.state.error)I.state.restoreFromSnapshot(s);else return i;return I.state.type=k.TokenType.typeParameterStart,uo(),i=_e.baseParseMaybeAssign.call(void 0,e,t),i||H.unexpected.call(void 0),i}Oe.tsParseMaybeAssignWithJSX=Np;function Rp(e,t){if(!v.match.call(void 0,k.TokenType.lessThan))return _e.baseParseMaybeAssign.call(void 0,e,t);let s=I.state.snapshot();uo();let i=_e.baseParseMaybeAssign.call(void 0,e,t);if(i||H.unexpected.call(void 0),I.state.error)I.state.restoreFromSnapshot(s);else return i;return _e.baseParseMaybeAssign.call(void 0,e,t)}Oe.tsParseMaybeAssignWithoutJSX=Rp;function hk(){if(v.match.call(void 0,k.TokenType.colon)){let e=I.state.snapshot();Qi(k.TokenType.colon),H.canInsertSemicolon.call(void 0)&&H.unexpected.call(void 0),v.match.call(void 0,k.TokenType.arrow)||H.unexpected.call(void 0),I.state.error&&I.state.restoreFromSnapshot(e)}return v.eat.call(void 0,k.TokenType.arrow)}Oe.tsParseArrow=hk;function fk(){let e=v.pushTypeContext.call(void 0,0);v.eat.call(void 0,k.TokenType.question),er(),v.popTypeContext.call(void 0,e)}Oe.tsParseAssignableListItemTypes=fk;function dk(){(v.match.call(void 0,k.TokenType.lessThan)||v.match.call(void 0,k.TokenType.bitShiftL))&&kl(),Rn.baseParseMaybeDecoratorArguments.call(void 0)}Oe.tsParseMaybeDecoratorArguments=dk});var vl=Z(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});var Ie=gt(),Me=Ce(),fe=Jt(),ho=Ns(),fs=cs(),ct=Yt(),Lp=ai(),mk=pi();function yk(){let e=!1,t=!1;for(;;){if(fe.state.pos>=fe.input.length){fs.unexpected.call(void 0,"Unterminated JSX contents");return}let s=fe.input.charCodeAt(fe.state.pos);if(s===ct.charCodes.lessThan||s===ct.charCodes.leftCurlyBrace){if(fe.state.pos===fe.state.start){if(s===ct.charCodes.lessThan){fe.state.pos++,Ie.finishToken.call(void 0,Me.TokenType.jsxTagStart);return}Ie.getTokenFromCode.call(void 0,s);return}e&&!t?Ie.finishToken.call(void 0,Me.TokenType.jsxEmptyText):Ie.finishToken.call(void 0,Me.TokenType.jsxText);return}s===ct.charCodes.lineFeed?e=!0:s!==ct.charCodes.space&&s!==ct.charCodes.carriageReturn&&s!==ct.charCodes.tab&&(t=!0),fe.state.pos++}}function Tk(e){for(fe.state.pos++;;){if(fe.state.pos>=fe.input.length){fs.unexpected.call(void 0,"Unterminated string constant");return}if(fe.input.charCodeAt(fe.state.pos)===e){fe.state.pos++;break}fe.state.pos++}Ie.finishToken.call(void 0,Me.TokenType.string)}function kk(){let e;do{if(fe.state.pos>fe.input.length){fs.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}e=fe.input.charCodeAt(++fe.state.pos)}while(Lp.IS_IDENTIFIER_CHAR[e]||e===ct.charCodes.dash);Ie.finishToken.call(void 0,Me.TokenType.jsxName)}function xl(){hn()}function Op(e){if(xl(),!Ie.eat.call(void 0,Me.TokenType.colon)){fe.state.tokens[fe.state.tokens.length-1].identifierRole=e;return}xl()}function Dp(){let e=fe.state.tokens.length;Op(Ie.IdentifierRole.Access);let t=!1;for(;Ie.match.call(void 0,Me.TokenType.dot);)t=!0,hn(),xl();if(!t){let s=fe.state.tokens[e],i=fe.input.charCodeAt(s.start);i>=ct.charCodes.lowercaseA&&i<=ct.charCodes.lowercaseZ&&(s.identifierRole=null)}}function vk(){switch(fe.state.type){case Me.TokenType.braceL:Ie.next.call(void 0),ho.parseExpression.call(void 0),hn();return;case Me.TokenType.jsxTagStart:Fp(),hn();return;case Me.TokenType.string:hn();return;default:fs.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function xk(){fs.expect.call(void 0,Me.TokenType.ellipsis),ho.parseExpression.call(void 0)}function gk(e){if(Ie.match.call(void 0,Me.TokenType.jsxTagEnd))return!1;Dp(),fe.isTypeScriptEnabled&&mk.tsTryParseJSXTypeArgument.call(void 0);let t=!1;for(;!Ie.match.call(void 0,Me.TokenType.slash)&&!Ie.match.call(void 0,Me.TokenType.jsxTagEnd)&&!fe.state.error;){if(Ie.eat.call(void 0,Me.TokenType.braceL)){t=!0,fs.expect.call(void 0,Me.TokenType.ellipsis),ho.parseMaybeAssign.call(void 0),hn();continue}t&&fe.state.end-fe.state.start===3&&fe.input.charCodeAt(fe.state.start)===ct.charCodes.lowercaseK&&fe.input.charCodeAt(fe.state.start+1)===ct.charCodes.lowercaseE&&fe.input.charCodeAt(fe.state.start+2)===ct.charCodes.lowercaseY&&(fe.state.tokens[e].jsxRole=Ie.JSXRole.KeyAfterPropSpread),Op(Ie.IdentifierRole.ObjectKey),Ie.match.call(void 0,Me.TokenType.eq)&&(hn(),vk())}let s=Ie.match.call(void 0,Me.TokenType.slash);return s&&hn(),s}function _k(){Ie.match.call(void 0,Me.TokenType.jsxTagEnd)||Dp()}function Mp(){let e=fe.state.tokens.length-1;fe.state.tokens[e].jsxRole=Ie.JSXRole.NoChildren;let t=0;if(!gk(e))for(yi();;)switch(fe.state.type){case Me.TokenType.jsxTagStart:if(hn(),Ie.match.call(void 0,Me.TokenType.slash)){hn(),_k(),fe.state.tokens[e].jsxRole!==Ie.JSXRole.KeyAfterPropSpread&&(t===1?fe.state.tokens[e].jsxRole=Ie.JSXRole.OneChild:t>1&&(fe.state.tokens[e].jsxRole=Ie.JSXRole.StaticChildren));return}t++,Mp(),yi();break;case Me.TokenType.jsxText:t++,yi();break;case Me.TokenType.jsxEmptyText:yi();break;case Me.TokenType.braceL:Ie.next.call(void 0),Ie.match.call(void 0,Me.TokenType.ellipsis)?(xk(),yi(),t+=2):(Ie.match.call(void 0,Me.TokenType.braceR)||(t++,ho.parseExpression.call(void 0)),yi());break;default:fs.unexpected.call(void 0);return}}function Fp(){hn(),Mp()}fo.jsxParseElement=Fp;function hn(){fe.state.tokens.push(new Ie.Token),Ie.skipSpace.call(void 0),fe.state.start=fe.state.pos;let e=fe.input.charCodeAt(fe.state.pos);if(Lp.IS_IDENTIFIER_START[e])kk();else if(e===ct.charCodes.quotationMark||e===ct.charCodes.apostrophe)Tk(e);else switch(++fe.state.pos,e){case ct.charCodes.greaterThan:Ie.finishToken.call(void 0,Me.TokenType.jsxTagEnd);break;case ct.charCodes.lessThan:Ie.finishToken.call(void 0,Me.TokenType.jsxTagStart);break;case ct.charCodes.slash:Ie.finishToken.call(void 0,Me.TokenType.slash);break;case ct.charCodes.equalsTo:Ie.finishToken.call(void 0,Me.TokenType.eq);break;case ct.charCodes.leftCurlyBrace:Ie.finishToken.call(void 0,Me.TokenType.braceL);break;case ct.charCodes.dot:Ie.finishToken.call(void 0,Me.TokenType.dot);break;case ct.charCodes.colon:Ie.finishToken.call(void 0,Me.TokenType.colon);break;default:fs.unexpected.call(void 0)}}fo.nextJSXTagToken=hn;function yi(){fe.state.tokens.push(new Ie.Token),fe.state.start=fe.state.pos,yk()}});var Vp=Z(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});var mo=gt(),Ti=Ce(),Bp=Jt(),bk=Ns(),Ck=Ji(),wk=pi();function Sk(e){if(mo.match.call(void 0,Ti.TokenType.question)){let t=mo.lookaheadType.call(void 0);if(t===Ti.TokenType.colon||t===Ti.TokenType.comma||t===Ti.TokenType.parenR)return}bk.baseParseConditional.call(void 0,e)}yo.typedParseConditional=Sk;function Ik(){mo.eatTypeToken.call(void 0,Ti.TokenType.question),mo.match.call(void 0,Ti.TokenType.colon)&&(Bp.isTypeScriptEnabled?wk.tsParseTypeAnnotation.call(void 0):Bp.isFlowEnabled&&Ck.flowParseTypeAnnotation.call(void 0))}yo.typedParseParenItem=Ik});var Ns=Z(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});var Yn=Ji(),Ek=vl(),jp=Vp(),ms=pi(),K=gt(),zn=St(),$p=qr(),B=Ce(),qp=Yt(),Ak=ai(),j=Jt(),ds=lo(),xn=nr(),Pe=cs(),vo=class{constructor(t){this.stop=t}};nt.StopState=vo;function sr(e=!1){if(fn(e),K.match.call(void 0,B.TokenType.comma))for(;K.eat.call(void 0,B.TokenType.comma);)fn(e)}nt.parseExpression=sr;function fn(e=!1,t=!1){return j.isTypeScriptEnabled?ms.tsParseMaybeAssign.call(void 0,e,t):j.isFlowEnabled?Yn.flowParseMaybeAssign.call(void 0,e,t):Kp(e,t)}nt.parseMaybeAssign=fn;function Kp(e,t){if(K.match.call(void 0,B.TokenType._yield))return Wk(),!1;(K.match.call(void 0,B.TokenType.parenL)||K.match.call(void 0,B.TokenType.name)||K.match.call(void 0,B.TokenType._yield))&&(j.state.potentialArrowAt=j.state.start);let s=Pk(e);return t&&wl(),j.state.type&B.TokenType.IS_ASSIGN?(K.next.call(void 0),fn(e),!1):s}nt.baseParseMaybeAssign=Kp;function Pk(e){return Rk(e)?!0:(Nk(e),!1)}function Nk(e){j.isTypeScriptEnabled||j.isFlowEnabled?jp.typedParseConditional.call(void 0,e):Up(e)}function Up(e){K.eat.call(void 0,B.TokenType.question)&&(fn(),Pe.expect.call(void 0,B.TokenType.colon),fn(e))}nt.baseParseConditional=Up;function Rk(e){let t=j.state.tokens.length;return rr()?!0:(To(t,-1,e),!1)}function To(e,t,s){if(j.isTypeScriptEnabled&&(B.TokenType._in&B.TokenType.PRECEDENCE_MASK)>t&&!Pe.hasPrecedingLineBreak.call(void 0)&&(Pe.eatContextual.call(void 0,zn.ContextualKeyword._as)||Pe.eatContextual.call(void 0,zn.ContextualKeyword._satisfies))){let r=K.pushTypeContext.call(void 0,1);ms.tsParseType.call(void 0),K.popTypeContext.call(void 0,r),K.rescan_gt.call(void 0),To(e,t,s);return}let i=j.state.type&B.TokenType.PRECEDENCE_MASK;if(i>0&&(!s||!K.match.call(void 0,B.TokenType._in))&&i>t){let r=j.state.type;K.next.call(void 0),r===B.TokenType.nullishCoalescing&&(j.state.tokens[j.state.tokens.length-1].nullishStartIndex=e);let a=j.state.tokens.length;rr(),To(a,r&B.TokenType.IS_RIGHT_ASSOCIATIVE?i-1:i,s),r===B.TokenType.nullishCoalescing&&(j.state.tokens[e].numNullishCoalesceStarts++,j.state.tokens[j.state.tokens.length-1].numNullishCoalesceEnds++),To(e,t,s)}}function rr(){if(j.isTypeScriptEnabled&&!j.isJSXEnabled&&K.eat.call(void 0,B.TokenType.lessThan))return ms.tsParseTypeAssertion.call(void 0),!1;if(Pe.isContextual.call(void 0,zn.ContextualKeyword._module)&&K.lookaheadCharCode.call(void 0)===qp.charCodes.leftCurlyBrace&&!Pe.hasFollowingLineBreak.call(void 0))return Gk(),!1;if(j.state.type&B.TokenType.IS_PREFIX)return K.next.call(void 0),rr(),!1;if(Hp())return!0;for(;j.state.type&B.TokenType.IS_POSTFIX&&!Pe.canInsertSemicolon.call(void 0);)j.state.type===B.TokenType.preIncDec&&(j.state.type=B.TokenType.postIncDec),K.next.call(void 0);return!1}nt.parseMaybeUnary=rr;function Hp(){let e=j.state.tokens.length;return _o()?!0:(bl(e),j.state.tokens.length>e&&j.state.tokens[e].isOptionalChainStart&&(j.state.tokens[j.state.tokens.length-1].isOptionalChainEnd=!0),!1)}nt.parseExprSubscripts=Hp;function bl(e,t=!1){j.isFlowEnabled?Yn.flowParseSubscripts.call(void 0,e,t):Wp(e,t)}function Wp(e,t=!1){let s=new vo(!1);do Lk(e,t,s);while(!s.stop&&!j.state.error)}nt.baseParseSubscripts=Wp;function Lk(e,t,s){j.isTypeScriptEnabled?ms.tsParseSubscript.call(void 0,e,t,s):j.isFlowEnabled?Yn.flowParseSubscript.call(void 0,e,t,s):Gp(e,t,s)}function Gp(e,t,s){if(!t&&K.eat.call(void 0,B.TokenType.doubleColon))Cl(),s.stop=!0,bl(e,t);else if(K.match.call(void 0,B.TokenType.questionDot)){if(j.state.tokens[e].isOptionalChainStart=!0,t&&K.lookaheadType.call(void 0)===B.TokenType.parenL){s.stop=!0;return}K.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,K.eat.call(void 0,B.TokenType.bracketL)?(sr(),Pe.expect.call(void 0,B.TokenType.bracketR)):K.eat.call(void 0,B.TokenType.parenL)?ko():xo()}else if(K.eat.call(void 0,B.TokenType.dot))j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,xo();else if(K.eat.call(void 0,B.TokenType.bracketL))j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,sr(),Pe.expect.call(void 0,B.TokenType.bracketR);else if(!t&&K.match.call(void 0,B.TokenType.parenL))if(zp()){let i=j.state.snapshot(),r=j.state.tokens.length;K.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e;let a=j.getNextContextId.call(void 0);j.state.tokens[j.state.tokens.length-1].contextId=a,ko(),j.state.tokens[j.state.tokens.length-1].contextId=a,Ok()&&(j.state.restoreFromSnapshot(i),s.stop=!0,j.state.scopeDepth++,xn.parseFunctionParams.call(void 0),Dk(r))}else{K.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e;let i=j.getNextContextId.call(void 0);j.state.tokens[j.state.tokens.length-1].contextId=i,ko(),j.state.tokens[j.state.tokens.length-1].contextId=i}else K.match.call(void 0,B.TokenType.backQuote)?Sl():s.stop=!0}nt.baseParseSubscript=Gp;function zp(){return j.state.tokens[j.state.tokens.length-1].contextualKeyword===zn.ContextualKeyword._async&&!Pe.canInsertSemicolon.call(void 0)}nt.atPossibleAsync=zp;function ko(){let e=!0;for(;!K.eat.call(void 0,B.TokenType.parenR)&&!j.state.error;){if(e)e=!1;else if(Pe.expect.call(void 0,B.TokenType.comma),K.eat.call(void 0,B.TokenType.parenR))break;eh(!1)}}nt.parseCallExpressionArguments=ko;function Ok(){return K.match.call(void 0,B.TokenType.colon)||K.match.call(void 0,B.TokenType.arrow)}function Dk(e){j.isTypeScriptEnabled?ms.tsStartParseAsyncArrowFromCallExpression.call(void 0):j.isFlowEnabled&&Yn.flowStartParseAsyncArrowFromCallExpression.call(void 0),Pe.expect.call(void 0,B.TokenType.arrow),ir(e)}function Cl(){let e=j.state.tokens.length;_o(),bl(e,!0)}function _o(){if(K.eat.call(void 0,B.TokenType.modulo))return Xn(),!1;if(K.match.call(void 0,B.TokenType.jsxText)||K.match.call(void 0,B.TokenType.jsxEmptyText))return Xp(),!1;if(K.match.call(void 0,B.TokenType.lessThan)&&j.isJSXEnabled)return j.state.type=B.TokenType.jsxTagStart,Ek.jsxParseElement.call(void 0),K.next.call(void 0),!1;let e=j.state.potentialArrowAt===j.state.start;switch(j.state.type){case B.TokenType.slash:case B.TokenType.assign:K.retokenizeSlashAsRegex.call(void 0);case B.TokenType._super:case B.TokenType._this:case B.TokenType.regexp:case B.TokenType.num:case B.TokenType.bigint:case B.TokenType.decimal:case B.TokenType.string:case B.TokenType._null:case B.TokenType._true:case B.TokenType._false:return K.next.call(void 0),!1;case B.TokenType._import:return K.next.call(void 0),K.match.call(void 0,B.TokenType.dot)&&(j.state.tokens[j.state.tokens.length-1].type=B.TokenType.name,K.next.call(void 0),Xn()),!1;case B.TokenType.name:{let t=j.state.tokens.length,s=j.state.start,i=j.state.contextualKeyword;return Xn(),i===zn.ContextualKeyword._await?(Hk(),!1):i===zn.ContextualKeyword._async&&K.match.call(void 0,B.TokenType._function)&&!Pe.canInsertSemicolon.call(void 0)?(K.next.call(void 0),xn.parseFunction.call(void 0,s,!1),!1):e&&i===zn.ContextualKeyword._async&&!Pe.canInsertSemicolon.call(void 0)&&K.match.call(void 0,B.TokenType.name)?(j.state.scopeDepth++,ds.parseBindingIdentifier.call(void 0,!1),Pe.expect.call(void 0,B.TokenType.arrow),ir(t),!0):K.match.call(void 0,B.TokenType._do)&&!Pe.canInsertSemicolon.call(void 0)?(K.next.call(void 0),xn.parseBlock.call(void 0),!1):e&&!Pe.canInsertSemicolon.call(void 0)&&K.match.call(void 0,B.TokenType.arrow)?(j.state.scopeDepth++,ds.markPriorBindingIdentifier.call(void 0,!1),Pe.expect.call(void 0,B.TokenType.arrow),ir(t),!0):(j.state.tokens[j.state.tokens.length-1].identifierRole=K.IdentifierRole.Access,!1)}case B.TokenType._do:return K.next.call(void 0),xn.parseBlock.call(void 0),!1;case B.TokenType.parenL:return Yp(e);case B.TokenType.bracketL:return K.next.call(void 0),Zp(B.TokenType.bracketR,!0),!1;case B.TokenType.braceL:return Jp(!1,!1),!1;case B.TokenType._function:return Mk(),!1;case B.TokenType.at:xn.parseDecorators.call(void 0);case B.TokenType._class:return xn.parseClass.call(void 0,!1),!1;case B.TokenType._new:return Vk(),!1;case B.TokenType.backQuote:return Sl(),!1;case B.TokenType.doubleColon:return K.next.call(void 0),Cl(),!1;case B.TokenType.hash:{let t=K.lookaheadCharCode.call(void 0);return Ak.IS_IDENTIFIER_START[t]||t===qp.charCodes.backslash?xo():K.next.call(void 0),!1}default:return Pe.unexpected.call(void 0),!1}}nt.parseExprAtom=_o;function xo(){K.eat.call(void 0,B.TokenType.hash),Xn()}function Mk(){let e=j.state.start;Xn(),K.eat.call(void 0,B.TokenType.dot)&&Xn(),xn.parseFunction.call(void 0,e,!1)}function Xp(){K.next.call(void 0)}nt.parseLiteral=Xp;function Fk(){Pe.expect.call(void 0,B.TokenType.parenL),sr(),Pe.expect.call(void 0,B.TokenType.parenR)}nt.parseParenExpression=Fk;function Yp(e){let t=j.state.snapshot(),s=j.state.tokens.length;Pe.expect.call(void 0,B.TokenType.parenL);let i=!0;for(;!K.match.call(void 0,B.TokenType.parenR)&&!j.state.error;){if(i)i=!1;else if(Pe.expect.call(void 0,B.TokenType.comma),K.match.call(void 0,B.TokenType.parenR))break;if(K.match.call(void 0,B.TokenType.ellipsis)){ds.parseRest.call(void 0,!1),wl();break}else fn(!1,!0)}return Pe.expect.call(void 0,B.TokenType.parenR),e&&Bk()&&gl()?(j.state.restoreFromSnapshot(t),j.state.scopeDepth++,xn.parseFunctionParams.call(void 0),gl(),ir(s),j.state.error?(j.state.restoreFromSnapshot(t),Yp(!1),!1):!0):!1}function Bk(){return K.match.call(void 0,B.TokenType.colon)||!Pe.canInsertSemicolon.call(void 0)}function gl(){return j.isTypeScriptEnabled?ms.tsParseArrow.call(void 0):j.isFlowEnabled?Yn.flowParseArrow.call(void 0):K.eat.call(void 0,B.TokenType.arrow)}nt.parseArrow=gl;function wl(){(j.isTypeScriptEnabled||j.isFlowEnabled)&&jp.typedParseParenItem.call(void 0)}function Vk(){if(Pe.expect.call(void 0,B.TokenType._new),K.eat.call(void 0,B.TokenType.dot)){Xn();return}jk(),j.isFlowEnabled&&Yn.flowStartParseNewArguments.call(void 0),K.eat.call(void 0,B.TokenType.parenL)&&Zp(B.TokenType.parenR)}function jk(){Cl(),K.eat.call(void 0,B.TokenType.questionDot)}function Sl(){for(K.nextTemplateToken.call(void 0),K.nextTemplateToken.call(void 0);!K.match.call(void 0,B.TokenType.backQuote)&&!j.state.error;)Pe.expect.call(void 0,B.TokenType.dollarBraceL),sr(),K.nextTemplateToken.call(void 0),K.nextTemplateToken.call(void 0);K.next.call(void 0)}nt.parseTemplate=Sl;function Jp(e,t){let s=j.getNextContextId.call(void 0),i=!0;for(K.next.call(void 0),j.state.tokens[j.state.tokens.length-1].contextId=s;!K.eat.call(void 0,B.TokenType.braceR)&&!j.state.error;){if(i)i=!1;else if(Pe.expect.call(void 0,B.TokenType.comma),K.eat.call(void 0,B.TokenType.braceR))break;let r=!1;if(K.match.call(void 0,B.TokenType.ellipsis)){let a=j.state.tokens.length;if(ds.parseSpread.call(void 0),e&&(j.state.tokens.length===a+2&&ds.markPriorBindingIdentifier.call(void 0,t),K.eat.call(void 0,B.TokenType.braceR)))break;continue}e||(r=K.eat.call(void 0,B.TokenType.star)),!e&&Pe.isContextual.call(void 0,zn.ContextualKeyword._async)?(r&&Pe.unexpected.call(void 0),Xn(),K.match.call(void 0,B.TokenType.colon)||K.match.call(void 0,B.TokenType.parenL)||K.match.call(void 0,B.TokenType.braceR)||K.match.call(void 0,B.TokenType.eq)||K.match.call(void 0,B.TokenType.comma)||(K.match.call(void 0,B.TokenType.star)&&(K.next.call(void 0),r=!0),go(s))):go(s),Uk(e,t,s)}j.state.tokens[j.state.tokens.length-1].contextId=s}nt.parseObj=Jp;function $k(e){return!e&&(K.match.call(void 0,B.TokenType.string)||K.match.call(void 0,B.TokenType.num)||K.match.call(void 0,B.TokenType.bracketL)||K.match.call(void 0,B.TokenType.name)||!!(j.state.type&B.TokenType.IS_KEYWORD))}function qk(e,t){let s=j.state.start;return K.match.call(void 0,B.TokenType.parenL)?(e&&Pe.unexpected.call(void 0),_l(s,!1),!0):$k(e)?(go(t),_l(s,!1),!0):!1}function Kk(e,t){if(K.eat.call(void 0,B.TokenType.colon)){e?ds.parseMaybeDefault.call(void 0,t):fn(!1);return}let s;e?j.state.scopeDepth===0?s=K.IdentifierRole.ObjectShorthandTopLevelDeclaration:t?s=K.IdentifierRole.ObjectShorthandBlockScopedDeclaration:s=K.IdentifierRole.ObjectShorthandFunctionScopedDeclaration:s=K.IdentifierRole.ObjectShorthand,j.state.tokens[j.state.tokens.length-1].identifierRole=s,ds.parseMaybeDefault.call(void 0,t,!0)}function Uk(e,t,s){j.isTypeScriptEnabled?ms.tsStartParseObjPropValue.call(void 0):j.isFlowEnabled&&Yn.flowStartParseObjPropValue.call(void 0),qk(e,s)||Kk(e,t)}function go(e){j.isFlowEnabled&&Yn.flowParseVariance.call(void 0),K.eat.call(void 0,B.TokenType.bracketL)?(j.state.tokens[j.state.tokens.length-1].contextId=e,fn(),Pe.expect.call(void 0,B.TokenType.bracketR),j.state.tokens[j.state.tokens.length-1].contextId=e):(K.match.call(void 0,B.TokenType.num)||K.match.call(void 0,B.TokenType.string)||K.match.call(void 0,B.TokenType.bigint)||K.match.call(void 0,B.TokenType.decimal)?_o():xo(),j.state.tokens[j.state.tokens.length-1].identifierRole=K.IdentifierRole.ObjectKey,j.state.tokens[j.state.tokens.length-1].contextId=e)}nt.parsePropertyName=go;function _l(e,t){let s=j.getNextContextId.call(void 0);j.state.scopeDepth++;let i=j.state.tokens.length,r=t;xn.parseFunctionParams.call(void 0,r,s),Qp(e,s);let a=j.state.tokens.length;j.state.scopes.push(new $p.Scope(i,a,!0)),j.state.scopeDepth--}nt.parseMethod=_l;function ir(e){Il(!0);let t=j.state.tokens.length;j.state.scopes.push(new $p.Scope(e,t,!0)),j.state.scopeDepth--}nt.parseArrowExpression=ir;function Qp(e,t=0){j.isTypeScriptEnabled?ms.tsParseFunctionBodyAndFinish.call(void 0,e,t):j.isFlowEnabled?Yn.flowParseFunctionBodyAndFinish.call(void 0,t):Il(!1,t)}nt.parseFunctionBodyAndFinish=Qp;function Il(e,t=0){e&&!K.match.call(void 0,B.TokenType.braceL)?fn():xn.parseBlock.call(void 0,!0,t)}nt.parseFunctionBody=Il;function Zp(e,t=!1){let s=!0;for(;!K.eat.call(void 0,e)&&!j.state.error;){if(s)s=!1;else if(Pe.expect.call(void 0,B.TokenType.comma),K.eat.call(void 0,e))break;eh(t)}}function eh(e){e&&K.match.call(void 0,B.TokenType.comma)||(K.match.call(void 0,B.TokenType.ellipsis)?(ds.parseSpread.call(void 0),wl()):K.match.call(void 0,B.TokenType.question)?K.next.call(void 0):fn(!1,!0))}function Xn(){K.next.call(void 0),j.state.tokens[j.state.tokens.length-1].type=B.TokenType.name}nt.parseIdentifier=Xn;function Hk(){rr()}function Wk(){K.next.call(void 0),!K.match.call(void 0,B.TokenType.semi)&&!Pe.canInsertSemicolon.call(void 0)&&(K.eat.call(void 0,B.TokenType.star),fn())}function Gk(){Pe.expectContextual.call(void 0,zn.ContextualKeyword._module),Pe.expect.call(void 0,B.TokenType.braceL),xn.parseBlockBody.call(void 0,B.TokenType.braceR)}});var Ji=Z(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});var C=gt(),ye=St(),_=Ce(),ue=Jt(),je=Ns(),ys=nr(),z=cs();function zk(e){return(e.type===_.TokenType.name||!!(e.type&_.TokenType.IS_KEYWORD))&&e.contextualKeyword!==ye.ContextualKeyword._from}function Ln(e){let t=C.pushTypeContext.call(void 0,0);z.expect.call(void 0,e||_.TokenType.colon),Wt(),C.popTypeContext.call(void 0,t)}function th(){z.expect.call(void 0,_.TokenType.modulo),z.expectContextual.call(void 0,ye.ContextualKeyword._checks),C.eat.call(void 0,_.TokenType.parenL)&&(je.parseExpression.call(void 0),z.expect.call(void 0,_.TokenType.parenR))}function Pl(){let e=C.pushTypeContext.call(void 0,0);z.expect.call(void 0,_.TokenType.colon),C.match.call(void 0,_.TokenType.modulo)?th():(Wt(),C.match.call(void 0,_.TokenType.modulo)&&th()),C.popTypeContext.call(void 0,e)}function Xk(){C.next.call(void 0),Nl(!0)}function Yk(){C.next.call(void 0),je.parseIdentifier.call(void 0),C.match.call(void 0,_.TokenType.lessThan)&&On(),z.expect.call(void 0,_.TokenType.parenL),Al(),z.expect.call(void 0,_.TokenType.parenR),Pl(),z.semicolon.call(void 0)}function El(){C.match.call(void 0,_.TokenType._class)?Xk():C.match.call(void 0,_.TokenType._function)?Yk():C.match.call(void 0,_.TokenType._var)?Jk():z.eatContextual.call(void 0,ye.ContextualKeyword._module)?C.eat.call(void 0,_.TokenType.dot)?e0():Qk():z.isContextual.call(void 0,ye.ContextualKeyword._type)?t0():z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?n0():z.isContextual.call(void 0,ye.ContextualKeyword._interface)?s0():C.match.call(void 0,_.TokenType._export)?Zk():z.unexpected.call(void 0)}function Jk(){C.next.call(void 0),ah(),z.semicolon.call(void 0)}function Qk(){for(C.match.call(void 0,_.TokenType.string)?je.parseExprAtom.call(void 0):je.parseIdentifier.call(void 0),z.expect.call(void 0,_.TokenType.braceL);!C.match.call(void 0,_.TokenType.braceR)&&!ue.state.error;)C.match.call(void 0,_.TokenType._import)?(C.next.call(void 0),ys.parseImport.call(void 0)):z.unexpected.call(void 0);z.expect.call(void 0,_.TokenType.braceR)}function Zk(){z.expect.call(void 0,_.TokenType._export),C.eat.call(void 0,_.TokenType._default)?C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._class)?El():(Wt(),z.semicolon.call(void 0)):C.match.call(void 0,_.TokenType._var)||C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._class)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?El():C.match.call(void 0,_.TokenType.star)||C.match.call(void 0,_.TokenType.braceL)||z.isContextual.call(void 0,ye.ContextualKeyword._interface)||z.isContextual.call(void 0,ye.ContextualKeyword._type)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?ys.parseExport.call(void 0):z.unexpected.call(void 0)}function e0(){z.expectContextual.call(void 0,ye.ContextualKeyword._exports),ki(),z.semicolon.call(void 0)}function t0(){C.next.call(void 0),Ll()}function n0(){C.next.call(void 0),Ol(!0)}function s0(){C.next.call(void 0),Nl()}function Nl(e=!1){if(So(),C.match.call(void 0,_.TokenType.lessThan)&&On(),C.eat.call(void 0,_.TokenType._extends))do bo();while(!e&&C.eat.call(void 0,_.TokenType.comma));if(z.isContextual.call(void 0,ye.ContextualKeyword._mixins)){C.next.call(void 0);do bo();while(C.eat.call(void 0,_.TokenType.comma))}if(z.isContextual.call(void 0,ye.ContextualKeyword._implements)){C.next.call(void 0);do bo();while(C.eat.call(void 0,_.TokenType.comma))}Co(e,!1,e)}function bo(){ih(!1),C.match.call(void 0,_.TokenType.lessThan)&&Rs()}function Rl(){Nl()}function So(){je.parseIdentifier.call(void 0)}function Ll(){So(),C.match.call(void 0,_.TokenType.lessThan)&&On(),Ln(_.TokenType.eq),z.semicolon.call(void 0)}function Ol(e){z.expectContextual.call(void 0,ye.ContextualKeyword._type),So(),C.match.call(void 0,_.TokenType.lessThan)&&On(),C.match.call(void 0,_.TokenType.colon)&&Ln(_.TokenType.colon),e||Ln(_.TokenType.eq),z.semicolon.call(void 0)}function i0(){Fl(),ah(),C.eat.call(void 0,_.TokenType.eq)&&Wt()}function On(){let e=C.pushTypeContext.call(void 0,0);C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.typeParameterStart)?C.next.call(void 0):z.unexpected.call(void 0);do i0(),C.match.call(void 0,_.TokenType.greaterThan)||z.expect.call(void 0,_.TokenType.comma);while(!C.match.call(void 0,_.TokenType.greaterThan)&&!ue.state.error);z.expect.call(void 0,_.TokenType.greaterThan),C.popTypeContext.call(void 0,e)}Qe.flowParseTypeParameterDeclaration=On;function Rs(){let e=C.pushTypeContext.call(void 0,0);for(z.expect.call(void 0,_.TokenType.lessThan);!C.match.call(void 0,_.TokenType.greaterThan)&&!ue.state.error;)Wt(),C.match.call(void 0,_.TokenType.greaterThan)||z.expect.call(void 0,_.TokenType.comma);z.expect.call(void 0,_.TokenType.greaterThan),C.popTypeContext.call(void 0,e)}function r0(){if(z.expectContextual.call(void 0,ye.ContextualKeyword._interface),C.eat.call(void 0,_.TokenType._extends))do bo();while(C.eat.call(void 0,_.TokenType.comma));Co(!1,!1,!1)}function Dl(){C.match.call(void 0,_.TokenType.num)||C.match.call(void 0,_.TokenType.string)?je.parseExprAtom.call(void 0):je.parseIdentifier.call(void 0)}function o0(){C.lookaheadType.call(void 0)===_.TokenType.colon?(Dl(),Ln()):Wt(),z.expect.call(void 0,_.TokenType.bracketR),Ln()}function a0(){Dl(),z.expect.call(void 0,_.TokenType.bracketR),z.expect.call(void 0,_.TokenType.bracketR),C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.parenL)?Ml():(C.eat.call(void 0,_.TokenType.question),Ln())}function Ml(){for(C.match.call(void 0,_.TokenType.lessThan)&&On(),z.expect.call(void 0,_.TokenType.parenL);!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis)&&!ue.state.error;)wo(),C.match.call(void 0,_.TokenType.parenR)||z.expect.call(void 0,_.TokenType.comma);C.eat.call(void 0,_.TokenType.ellipsis)&&wo(),z.expect.call(void 0,_.TokenType.parenR),Ln()}function l0(){Ml()}function Co(e,t,s){let i;for(t&&C.match.call(void 0,_.TokenType.braceBarL)?(z.expect.call(void 0,_.TokenType.braceBarL),i=_.TokenType.braceBarR):(z.expect.call(void 0,_.TokenType.braceL),i=_.TokenType.braceR);!C.match.call(void 0,i)&&!ue.state.error;){if(s&&z.isContextual.call(void 0,ye.ContextualKeyword._proto)){let r=C.lookaheadType.call(void 0);r!==_.TokenType.colon&&r!==_.TokenType.question&&(C.next.call(void 0),e=!1)}if(e&&z.isContextual.call(void 0,ye.ContextualKeyword._static)){let r=C.lookaheadType.call(void 0);r!==_.TokenType.colon&&r!==_.TokenType.question&&C.next.call(void 0)}if(Fl(),C.eat.call(void 0,_.TokenType.bracketL))C.eat.call(void 0,_.TokenType.bracketL)?a0():o0();else if(C.match.call(void 0,_.TokenType.parenL)||C.match.call(void 0,_.TokenType.lessThan))l0();else{if(z.isContextual.call(void 0,ye.ContextualKeyword._get)||z.isContextual.call(void 0,ye.ContextualKeyword._set)){let r=C.lookaheadType.call(void 0);(r===_.TokenType.name||r===_.TokenType.string||r===_.TokenType.num)&&C.next.call(void 0)}c0()}u0()}z.expect.call(void 0,i)}function c0(){if(C.match.call(void 0,_.TokenType.ellipsis)){if(z.expect.call(void 0,_.TokenType.ellipsis),C.eat.call(void 0,_.TokenType.comma)||C.eat.call(void 0,_.TokenType.semi),C.match.call(void 0,_.TokenType.braceR))return;Wt()}else Dl(),C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.parenL)?Ml():(C.eat.call(void 0,_.TokenType.question),Ln())}function u0(){!C.eat.call(void 0,_.TokenType.semi)&&!C.eat.call(void 0,_.TokenType.comma)&&!C.match.call(void 0,_.TokenType.braceR)&&!C.match.call(void 0,_.TokenType.braceBarR)&&z.unexpected.call(void 0)}function ih(e){for(e||je.parseIdentifier.call(void 0);C.eat.call(void 0,_.TokenType.dot);)je.parseIdentifier.call(void 0)}function p0(){ih(!0),C.match.call(void 0,_.TokenType.lessThan)&&Rs()}function h0(){z.expect.call(void 0,_.TokenType._typeof),rh()}function f0(){for(z.expect.call(void 0,_.TokenType.bracketL);ue.state.pos<ue.input.length&&!C.match.call(void 0,_.TokenType.bracketR)&&(Wt(),!C.match.call(void 0,_.TokenType.bracketR));)z.expect.call(void 0,_.TokenType.comma);z.expect.call(void 0,_.TokenType.bracketR)}function wo(){let e=C.lookaheadType.call(void 0);e===_.TokenType.colon||e===_.TokenType.question?(je.parseIdentifier.call(void 0),C.eat.call(void 0,_.TokenType.question),Ln()):Wt()}function Al(){for(;!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis)&&!ue.state.error;)wo(),C.match.call(void 0,_.TokenType.parenR)||z.expect.call(void 0,_.TokenType.comma);C.eat.call(void 0,_.TokenType.ellipsis)&&wo()}function rh(){let e=!1,t=ue.state.noAnonFunctionType;switch(ue.state.type){case _.TokenType.name:{if(z.isContextual.call(void 0,ye.ContextualKeyword._interface)){r0();return}je.parseIdentifier.call(void 0),p0();return}case _.TokenType.braceL:Co(!1,!1,!1);return;case _.TokenType.braceBarL:Co(!1,!0,!1);return;case _.TokenType.bracketL:f0();return;case _.TokenType.lessThan:On(),z.expect.call(void 0,_.TokenType.parenL),Al(),z.expect.call(void 0,_.TokenType.parenR),z.expect.call(void 0,_.TokenType.arrow),Wt();return;case _.TokenType.parenL:if(C.next.call(void 0),!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis))if(C.match.call(void 0,_.TokenType.name)){let s=C.lookaheadType.call(void 0);e=s!==_.TokenType.question&&s!==_.TokenType.colon}else e=!0;if(e)if(ue.state.noAnonFunctionType=!1,Wt(),ue.state.noAnonFunctionType=t,ue.state.noAnonFunctionType||!(C.match.call(void 0,_.TokenType.comma)||C.match.call(void 0,_.TokenType.parenR)&&C.lookaheadType.call(void 0)===_.TokenType.arrow)){z.expect.call(void 0,_.TokenType.parenR);return}else C.eat.call(void 0,_.TokenType.comma);Al(),z.expect.call(void 0,_.TokenType.parenR),z.expect.call(void 0,_.TokenType.arrow),Wt();return;case _.TokenType.minus:C.next.call(void 0),je.parseLiteral.call(void 0);return;case _.TokenType.string:case _.TokenType.num:case _.TokenType._true:case _.TokenType._false:case _.TokenType._null:case _.TokenType._this:case _.TokenType._void:case _.TokenType.star:C.next.call(void 0);return;default:if(ue.state.type===_.TokenType._typeof){h0();return}else if(ue.state.type&_.TokenType.IS_KEYWORD){C.next.call(void 0),ue.state.tokens[ue.state.tokens.length-1].type=_.TokenType.name;return}}z.unexpected.call(void 0)}function d0(){for(rh();!z.canInsertSemicolon.call(void 0)&&(C.match.call(void 0,_.TokenType.bracketL)||C.match.call(void 0,_.TokenType.questionDot));)C.eat.call(void 0,_.TokenType.questionDot),z.expect.call(void 0,_.TokenType.bracketL),C.eat.call(void 0,_.TokenType.bracketR)||(Wt(),z.expect.call(void 0,_.TokenType.bracketR))}function oh(){C.eat.call(void 0,_.TokenType.question)?oh():d0()}function nh(){oh(),!ue.state.noAnonFunctionType&&C.eat.call(void 0,_.TokenType.arrow)&&Wt()}function sh(){for(C.eat.call(void 0,_.TokenType.bitwiseAND),nh();C.eat.call(void 0,_.TokenType.bitwiseAND);)nh()}function m0(){for(C.eat.call(void 0,_.TokenType.bitwiseOR),sh();C.eat.call(void 0,_.TokenType.bitwiseOR);)sh()}function Wt(){m0()}function ki(){Ln()}Qe.flowParseTypeAnnotation=ki;function ah(){je.parseIdentifier.call(void 0),C.match.call(void 0,_.TokenType.colon)&&ki()}function Fl(){(C.match.call(void 0,_.TokenType.plus)||C.match.call(void 0,_.TokenType.minus))&&(C.next.call(void 0),ue.state.tokens[ue.state.tokens.length-1].isType=!0)}Qe.flowParseVariance=Fl;function y0(e){C.match.call(void 0,_.TokenType.colon)&&Pl(),je.parseFunctionBody.call(void 0,!1,e)}Qe.flowParseFunctionBodyAndFinish=y0;function T0(e,t,s){if(C.match.call(void 0,_.TokenType.questionDot)&&C.lookaheadType.call(void 0)===_.TokenType.lessThan){if(t){s.stop=!0;return}C.next.call(void 0),Rs(),z.expect.call(void 0,_.TokenType.parenL),je.parseCallExpressionArguments.call(void 0);return}else if(!t&&C.match.call(void 0,_.TokenType.lessThan)){let i=ue.state.snapshot();if(Rs(),z.expect.call(void 0,_.TokenType.parenL),je.parseCallExpressionArguments.call(void 0),ue.state.error)ue.state.restoreFromSnapshot(i);else return}je.baseParseSubscript.call(void 0,e,t,s)}Qe.flowParseSubscript=T0;function k0(){if(C.match.call(void 0,_.TokenType.lessThan)){let e=ue.state.snapshot();Rs(),ue.state.error&&ue.state.restoreFromSnapshot(e)}}Qe.flowStartParseNewArguments=k0;function v0(){if(C.match.call(void 0,_.TokenType.name)&&ue.state.contextualKeyword===ye.ContextualKeyword._interface){let e=C.pushTypeContext.call(void 0,0);return C.next.call(void 0),Rl(),C.popTypeContext.call(void 0,e),!0}else if(z.isContextual.call(void 0,ye.ContextualKeyword._enum))return lh(),!0;return!1}Qe.flowTryParseStatement=v0;function x0(){return z.isContextual.call(void 0,ye.ContextualKeyword._enum)?(lh(),!0):!1}Qe.flowTryParseExportDefaultExpression=x0;function g0(e){if(e===ye.ContextualKeyword._declare){if(C.match.call(void 0,_.TokenType._class)||C.match.call(void 0,_.TokenType.name)||C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._var)||C.match.call(void 0,_.TokenType._export)){let t=C.pushTypeContext.call(void 0,1);El(),C.popTypeContext.call(void 0,t)}}else if(C.match.call(void 0,_.TokenType.name)){if(e===ye.ContextualKeyword._interface){let t=C.pushTypeContext.call(void 0,1);Rl(),C.popTypeContext.call(void 0,t)}else if(e===ye.ContextualKeyword._type){let t=C.pushTypeContext.call(void 0,1);Ll(),C.popTypeContext.call(void 0,t)}else if(e===ye.ContextualKeyword._opaque){let t=C.pushTypeContext.call(void 0,1);Ol(!1),C.popTypeContext.call(void 0,t)}}z.semicolon.call(void 0)}Qe.flowParseIdentifierStatement=g0;function _0(){return z.isContextual.call(void 0,ye.ContextualKeyword._type)||z.isContextual.call(void 0,ye.ContextualKeyword._interface)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)||z.isContextual.call(void 0,ye.ContextualKeyword._enum)}Qe.flowShouldParseExportDeclaration=_0;function b0(){return C.match.call(void 0,_.TokenType.name)&&(ue.state.contextualKeyword===ye.ContextualKeyword._type||ue.state.contextualKeyword===ye.ContextualKeyword._interface||ue.state.contextualKeyword===ye.ContextualKeyword._opaque||ue.state.contextualKeyword===ye.ContextualKeyword._enum)}Qe.flowShouldDisallowExportDefaultSpecifier=b0;function C0(){if(z.isContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),C.match.call(void 0,_.TokenType.braceL)?(ys.parseExportSpecifiers.call(void 0),ys.parseExportFrom.call(void 0)):Ll(),C.popTypeContext.call(void 0,e)}else if(z.isContextual.call(void 0,ye.ContextualKeyword._opaque)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),Ol(!1),C.popTypeContext.call(void 0,e)}else if(z.isContextual.call(void 0,ye.ContextualKeyword._interface)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),Rl(),C.popTypeContext.call(void 0,e)}else ys.parseStatement.call(void 0,!0)}Qe.flowParseExportDeclaration=C0;function w0(){return C.match.call(void 0,_.TokenType.star)||z.isContextual.call(void 0,ye.ContextualKeyword._type)&&C.lookaheadType.call(void 0)===_.TokenType.star}Qe.flowShouldParseExportStar=w0;function S0(){if(z.eatContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.pushTypeContext.call(void 0,2);ys.baseParseExportStar.call(void 0),C.popTypeContext.call(void 0,e)}else ys.baseParseExportStar.call(void 0)}Qe.flowParseExportStar=S0;function I0(e){if(e&&C.match.call(void 0,_.TokenType.lessThan)&&Rs(),z.isContextual.call(void 0,ye.ContextualKeyword._implements)){let t=C.pushTypeContext.call(void 0,0);C.next.call(void 0),ue.state.tokens[ue.state.tokens.length-1].type=_.TokenType._implements;do So(),C.match.call(void 0,_.TokenType.lessThan)&&Rs();while(C.eat.call(void 0,_.TokenType.comma));C.popTypeContext.call(void 0,t)}}Qe.flowAfterParseClassSuper=I0;function E0(){C.match.call(void 0,_.TokenType.lessThan)&&(On(),C.match.call(void 0,_.TokenType.parenL)||z.unexpected.call(void 0))}Qe.flowStartParseObjPropValue=E0;function A0(){let e=C.pushTypeContext.call(void 0,0);C.eat.call(void 0,_.TokenType.question),C.match.call(void 0,_.TokenType.colon)&&ki(),C.popTypeContext.call(void 0,e)}Qe.flowParseAssignableListItemTypes=A0;function P0(){if(C.match.call(void 0,_.TokenType._typeof)||z.isContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.lookaheadTypeAndKeyword.call(void 0);(zk(e)||e.type===_.TokenType.braceL||e.type===_.TokenType.star)&&C.next.call(void 0)}}Qe.flowStartParseImportSpecifiers=P0;function N0(){let e=ue.state.contextualKeyword===ye.ContextualKeyword._type||ue.state.type===_.TokenType._typeof;e?C.next.call(void 0):je.parseIdentifier.call(void 0),z.isContextual.call(void 0,ye.ContextualKeyword._as)&&!z.isLookaheadContextual.call(void 0,ye.ContextualKeyword._as)?(je.parseIdentifier.call(void 0),e&&!C.match.call(void 0,_.TokenType.name)&&!(ue.state.type&_.TokenType.IS_KEYWORD)||je.parseIdentifier.call(void 0)):(e&&(C.match.call(void 0,_.TokenType.name)||ue.state.type&_.TokenType.IS_KEYWORD)&&je.parseIdentifier.call(void 0),z.eatContextual.call(void 0,ye.ContextualKeyword._as)&&je.parseIdentifier.call(void 0))}Qe.flowParseImportSpecifier=N0;function R0(){if(C.match.call(void 0,_.TokenType.lessThan)){let e=C.pushTypeContext.call(void 0,0);On(),C.popTypeContext.call(void 0,e)}}Qe.flowStartParseFunctionParams=R0;function L0(){C.match.call(void 0,_.TokenType.colon)&&ki()}Qe.flowAfterParseVarHead=L0;function O0(){if(C.match.call(void 0,_.TokenType.colon)){let e=ue.state.noAnonFunctionType;ue.state.noAnonFunctionType=!0,ki(),ue.state.noAnonFunctionType=e}}Qe.flowStartParseAsyncArrowFromCallExpression=O0;function D0(e,t){if(C.match.call(void 0,_.TokenType.lessThan)){let s=ue.state.snapshot(),i=je.baseParseMaybeAssign.call(void 0,e,t);if(ue.state.error)ue.state.restoreFromSnapshot(s),ue.state.type=_.TokenType.typeParameterStart;else return i;let r=C.pushTypeContext.call(void 0,0);if(On(),C.popTypeContext.call(void 0,r),i=je.baseParseMaybeAssign.call(void 0,e,t),i)return!0;z.unexpected.call(void 0)}return je.baseParseMaybeAssign.call(void 0,e,t)}Qe.flowParseMaybeAssign=D0;function M0(){if(C.match.call(void 0,_.TokenType.colon)){let e=C.pushTypeContext.call(void 0,0),t=ue.state.snapshot(),s=ue.state.noAnonFunctionType;ue.state.noAnonFunctionType=!0,Pl(),ue.state.noAnonFunctionType=s,z.canInsertSemicolon.call(void 0)&&z.unexpected.call(void 0),C.match.call(void 0,_.TokenType.arrow)||z.unexpected.call(void 0),ue.state.error&&ue.state.restoreFromSnapshot(t),C.popTypeContext.call(void 0,e)}return C.eat.call(void 0,_.TokenType.arrow)}Qe.flowParseArrow=M0;function F0(e,t=!1){if(ue.state.tokens[ue.state.tokens.length-1].contextualKeyword===ye.ContextualKeyword._async&&C.match.call(void 0,_.TokenType.lessThan)){let s=ue.state.snapshot();if(B0()&&!ue.state.error)return;ue.state.restoreFromSnapshot(s)}je.baseParseSubscripts.call(void 0,e,t)}Qe.flowParseSubscripts=F0;function B0(){ue.state.scopeDepth++;let e=ue.state.tokens.length;return ys.parseFunctionParams.call(void 0),je.parseArrow.call(void 0)?(je.parseArrowExpression.call(void 0,e),!0):!1}function lh(){z.expectContextual.call(void 0,ye.ContextualKeyword._enum),ue.state.tokens[ue.state.tokens.length-1].type=_.TokenType._enum,je.parseIdentifier.call(void 0),V0()}function V0(){z.eatContextual.call(void 0,ye.ContextualKeyword._of)&&C.next.call(void 0),z.expect.call(void 0,_.TokenType.braceL),j0(),z.expect.call(void 0,_.TokenType.braceR)}function j0(){for(;!C.match.call(void 0,_.TokenType.braceR)&&!ue.state.error&&!C.eat.call(void 0,_.TokenType.ellipsis);)$0(),C.match.call(void 0,_.TokenType.braceR)||z.expect.call(void 0,_.TokenType.comma)}function $0(){je.parseIdentifier.call(void 0),C.eat.call(void 0,_.TokenType.eq)&&C.next.call(void 0)}});var nr=Z(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});var q0=Ul(),Mt=Ji(),dt=pi(),$=gt(),ke=St(),Ts=qr(),D=Ce(),ch=Yt(),P=Jt(),De=Ns(),ks=lo(),ee=cs();function K0(){if(ql(D.TokenType.eof),P.state.scopes.push(new Ts.Scope(0,P.state.tokens.length,!0)),P.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${P.state.scopeDepth}`);return new q0.File(P.state.tokens,P.state.scopes)}kt.parseTopLevel=K0;function gn(e){P.isFlowEnabled&&Mt.flowTryParseStatement.call(void 0)||($.match.call(void 0,D.TokenType.at)&&$l(),U0(e))}kt.parseStatement=gn;function U0(e){if(P.isTypeScriptEnabled&&dt.tsTryParseStatementContent.call(void 0))return;let t=P.state.type;switch(t){case D.TokenType._break:case D.TokenType._continue:W0();return;case D.TokenType._debugger:G0();return;case D.TokenType._do:z0();return;case D.TokenType._for:X0();return;case D.TokenType._function:if($.lookaheadType.call(void 0)===D.TokenType.dot)break;e||ee.unexpected.call(void 0),Q0();return;case D.TokenType._class:e||ee.unexpected.call(void 0),Io(!0);return;case D.TokenType._if:Z0();return;case D.TokenType._return:ev();return;case D.TokenType._switch:tv();return;case D.TokenType._throw:nv();return;case D.TokenType._try:iv();return;case D.TokenType._let:case D.TokenType._const:e||ee.unexpected.call(void 0);case D.TokenType._var:Vl(t!==D.TokenType._var);return;case D.TokenType._while:rv();return;case D.TokenType.braceL:xi();return;case D.TokenType.semi:ov();return;case D.TokenType._export:case D.TokenType._import:{let r=$.lookaheadType.call(void 0);if(r===D.TokenType.parenL||r===D.TokenType.dot)break;$.next.call(void 0),t===D.TokenType._import?gh():kh();return}case D.TokenType.name:if(P.state.contextualKeyword===ke.ContextualKeyword._async){let r=P.state.start,a=P.state.snapshot();if($.next.call(void 0),$.match.call(void 0,D.TokenType._function)&&!ee.canInsertSemicolon.call(void 0)){ee.expect.call(void 0,D.TokenType._function),lr(r,!0);return}else P.state.restoreFromSnapshot(a)}else if(P.state.contextualKeyword===ke.ContextualKeyword._using&&!ee.hasFollowingLineBreak.call(void 0)&&$.lookaheadType.call(void 0)===D.TokenType.name){Vl(!0);return}default:break}let s=P.state.tokens.length;De.parseExpression.call(void 0);let i=null;if(P.state.tokens.length===s+1){let r=P.state.tokens[P.state.tokens.length-1];r.type===D.TokenType.name&&(i=r.contextualKeyword)}if(i==null){ee.semicolon.call(void 0);return}$.eat.call(void 0,D.TokenType.colon)?av():lv(i)}function $l(){for(;$.match.call(void 0,D.TokenType.at);)hh()}kt.parseDecorators=$l;function hh(){if($.next.call(void 0),$.eat.call(void 0,D.TokenType.parenL))De.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR);else{for(De.parseIdentifier.call(void 0);$.eat.call(void 0,D.TokenType.dot);)De.parseIdentifier.call(void 0);H0()}}function H0(){P.isTypeScriptEnabled?dt.tsParseMaybeDecoratorArguments.call(void 0):fh()}function fh(){$.eat.call(void 0,D.TokenType.parenL)&&De.parseCallExpressionArguments.call(void 0)}kt.baseParseMaybeDecoratorArguments=fh;function W0(){$.next.call(void 0),ee.isLineTerminator.call(void 0)||(De.parseIdentifier.call(void 0),ee.semicolon.call(void 0))}function G0(){$.next.call(void 0),ee.semicolon.call(void 0)}function z0(){$.next.call(void 0),gn(!1),ee.expect.call(void 0,D.TokenType._while),De.parseParenExpression.call(void 0),$.eat.call(void 0,D.TokenType.semi)}function X0(){P.state.scopeDepth++;let e=P.state.tokens.length;J0();let t=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(e,t,!1)),P.state.scopeDepth--}function Y0(){return!(!ee.isContextual.call(void 0,ke.ContextualKeyword._using)||ee.isLookaheadContextual.call(void 0,ke.ContextualKeyword._of))}function J0(){$.next.call(void 0);let e=!1;if(ee.isContextual.call(void 0,ke.ContextualKeyword._await)&&(e=!0,$.next.call(void 0)),ee.expect.call(void 0,D.TokenType.parenL),$.match.call(void 0,D.TokenType.semi)){e&&ee.unexpected.call(void 0),Bl();return}if($.match.call(void 0,D.TokenType._var)||$.match.call(void 0,D.TokenType._let)||$.match.call(void 0,D.TokenType._const)||Y0()){if($.next.call(void 0),dh(!0,P.state.type!==D.TokenType._var),$.match.call(void 0,D.TokenType._in)||ee.isContextual.call(void 0,ke.ContextualKeyword._of)){uh(e);return}Bl();return}if(De.parseExpression.call(void 0,!0),$.match.call(void 0,D.TokenType._in)||ee.isContextual.call(void 0,ke.ContextualKeyword._of)){uh(e);return}e&&ee.unexpected.call(void 0),Bl()}function Q0(){let e=P.state.start;$.next.call(void 0),lr(e,!0)}function Z0(){$.next.call(void 0),De.parseParenExpression.call(void 0),gn(!1),$.eat.call(void 0,D.TokenType._else)&&gn(!1)}function ev(){$.next.call(void 0),ee.isLineTerminator.call(void 0)||(De.parseExpression.call(void 0),ee.semicolon.call(void 0))}function tv(){$.next.call(void 0),De.parseParenExpression.call(void 0),P.state.scopeDepth++;let e=P.state.tokens.length;for(ee.expect.call(void 0,D.TokenType.braceL);!$.match.call(void 0,D.TokenType.braceR)&&!P.state.error;)if($.match.call(void 0,D.TokenType._case)||$.match.call(void 0,D.TokenType._default)){let s=$.match.call(void 0,D.TokenType._case);$.next.call(void 0),s&&De.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.colon)}else gn(!0);$.next.call(void 0);let t=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(e,t,!1)),P.state.scopeDepth--}function nv(){$.next.call(void 0),De.parseExpression.call(void 0),ee.semicolon.call(void 0)}function sv(){ks.parseBindingAtom.call(void 0,!0),P.isTypeScriptEnabled&&dt.tsTryParseTypeAnnotation.call(void 0)}function iv(){if($.next.call(void 0),xi(),$.match.call(void 0,D.TokenType._catch)){$.next.call(void 0);let e=null;if($.match.call(void 0,D.TokenType.parenL)&&(P.state.scopeDepth++,e=P.state.tokens.length,ee.expect.call(void 0,D.TokenType.parenL),sv(),ee.expect.call(void 0,D.TokenType.parenR)),xi(),e!=null){let t=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(e,t,!1)),P.state.scopeDepth--}}$.eat.call(void 0,D.TokenType._finally)&&xi()}function Vl(e){$.next.call(void 0),dh(!1,e),ee.semicolon.call(void 0)}kt.parseVarStatement=Vl;function rv(){$.next.call(void 0),De.parseParenExpression.call(void 0),gn(!1)}function ov(){$.next.call(void 0)}function av(){gn(!0)}function lv(e){P.isTypeScriptEnabled?dt.tsParseIdentifierStatement.call(void 0,e):P.isFlowEnabled?Mt.flowParseIdentifierStatement.call(void 0,e):ee.semicolon.call(void 0)}function xi(e=!1,t=0){let s=P.state.tokens.length;P.state.scopeDepth++,ee.expect.call(void 0,D.TokenType.braceL),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t),ql(D.TokenType.braceR),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t);let i=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(s,i,e)),P.state.scopeDepth--}kt.parseBlock=xi;function ql(e){for(;!$.eat.call(void 0,e)&&!P.state.error;)gn(!0)}kt.parseBlockBody=ql;function Bl(){ee.expect.call(void 0,D.TokenType.semi),$.match.call(void 0,D.TokenType.semi)||De.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.semi),$.match.call(void 0,D.TokenType.parenR)||De.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR),gn(!1)}function uh(e){e?ee.eatContextual.call(void 0,ke.ContextualKeyword._of):$.next.call(void 0),De.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR),gn(!1)}function dh(e,t){for(;;){if(cv(t),$.eat.call(void 0,D.TokenType.eq)){let s=P.state.tokens.length-1;De.parseMaybeAssign.call(void 0,e),P.state.tokens[s].rhsEndIndex=P.state.tokens.length}if(!$.eat.call(void 0,D.TokenType.comma))break}}function cv(e){ks.parseBindingAtom.call(void 0,e),P.isTypeScriptEnabled?dt.tsAfterParseVarHead.call(void 0):P.isFlowEnabled&&Mt.flowAfterParseVarHead.call(void 0)}function lr(e,t,s=!1){$.match.call(void 0,D.TokenType.star)&&$.next.call(void 0),t&&!s&&!$.match.call(void 0,D.TokenType.name)&&!$.match.call(void 0,D.TokenType._yield)&&ee.unexpected.call(void 0);let i=null;$.match.call(void 0,D.TokenType.name)&&(t||(i=P.state.tokens.length,P.state.scopeDepth++),ks.parseBindingIdentifier.call(void 0,!1));let r=P.state.tokens.length;P.state.scopeDepth++,mh(),De.parseFunctionBodyAndFinish.call(void 0,e);let a=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(r,a,!0)),P.state.scopeDepth--,i!==null&&(P.state.scopes.push(new Ts.Scope(i,a,!0)),P.state.scopeDepth--)}kt.parseFunction=lr;function mh(e=!1,t=0){P.isTypeScriptEnabled?dt.tsStartParseFunctionParams.call(void 0):P.isFlowEnabled&&Mt.flowStartParseFunctionParams.call(void 0),ee.expect.call(void 0,D.TokenType.parenL),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t),ks.parseBindingList.call(void 0,D.TokenType.parenR,!1,!1,e,t),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t)}kt.parseFunctionParams=mh;function Io(e,t=!1){let s=P.getNextContextId.call(void 0);$.next.call(void 0),P.state.tokens[P.state.tokens.length-1].contextId=s,P.state.tokens[P.state.tokens.length-1].isExpression=!e;let i=null;e||(i=P.state.tokens.length,P.state.scopeDepth++),fv(e,t),dv();let r=P.state.tokens.length;if(uv(s),!P.state.error&&(P.state.tokens[r].contextId=s,P.state.tokens[P.state.tokens.length-1].contextId=s,i!==null)){let a=P.state.tokens.length;P.state.scopes.push(new Ts.Scope(i,a,!1)),P.state.scopeDepth--}}kt.parseClass=Io;function yh(){return $.match.call(void 0,D.TokenType.eq)||$.match.call(void 0,D.TokenType.semi)||$.match.call(void 0,D.TokenType.braceR)||$.match.call(void 0,D.TokenType.bang)||$.match.call(void 0,D.TokenType.colon)}function Th(){return $.match.call(void 0,D.TokenType.parenL)||$.match.call(void 0,D.TokenType.lessThan)}function uv(e){for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if($.eat.call(void 0,D.TokenType.semi))continue;if($.match.call(void 0,D.TokenType.at)){hh();continue}let t=P.state.start;pv(t,e)}}function pv(e,t){P.isTypeScriptEnabled&&dt.tsParseModifiers.call(void 0,[ke.ContextualKeyword._declare,ke.ContextualKeyword._public,ke.ContextualKeyword._protected,ke.ContextualKeyword._private,ke.ContextualKeyword._override]);let s=!1;if($.match.call(void 0,D.TokenType.name)&&P.state.contextualKeyword===ke.ContextualKeyword._static){if(De.parseIdentifier.call(void 0),Th()){or(e,!1);return}else if(yh()){ar();return}if(P.state.tokens[P.state.tokens.length-1].type=D.TokenType._static,s=!0,$.match.call(void 0,D.TokenType.braceL)){P.state.tokens[P.state.tokens.length-1].contextId=t,xi();return}}hv(e,s,t)}function hv(e,t,s){if(P.isTypeScriptEnabled&&dt.tsTryParseClassMemberWithIsStatic.call(void 0,t))return;if($.eat.call(void 0,D.TokenType.star)){vi(s),or(e,!1);return}vi(s);let i=!1,r=P.state.tokens[P.state.tokens.length-1];r.contextualKeyword===ke.ContextualKeyword._constructor&&(i=!0),jl(),Th()?or(e,i):yh()?ar():r.contextualKeyword===ke.ContextualKeyword._async&&!ee.isLineTerminator.call(void 0)?(P.state.tokens[P.state.tokens.length-1].type=D.TokenType._async,$.match.call(void 0,D.TokenType.star)&&$.next.call(void 0),vi(s),jl(),or(e,!1)):(r.contextualKeyword===ke.ContextualKeyword._get||r.contextualKeyword===ke.ContextualKeyword._set)&&!(ee.isLineTerminator.call(void 0)&&$.match.call(void 0,D.TokenType.star))?(r.contextualKeyword===ke.ContextualKeyword._get?P.state.tokens[P.state.tokens.length-1].type=D.TokenType._get:P.state.tokens[P.state.tokens.length-1].type=D.TokenType._set,vi(s),or(e,!1)):r.contextualKeyword===ke.ContextualKeyword._accessor&&!ee.isLineTerminator.call(void 0)?(vi(s),ar()):ee.isLineTerminator.call(void 0)?ar():ee.unexpected.call(void 0)}function or(e,t){P.isTypeScriptEnabled?dt.tsTryParseTypeParameters.call(void 0):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.lessThan)&&Mt.flowParseTypeParameterDeclaration.call(void 0),De.parseMethod.call(void 0,e,t)}function vi(e){De.parsePropertyName.call(void 0,e)}kt.parseClassPropertyName=vi;function jl(){if(P.isTypeScriptEnabled){let e=$.pushTypeContext.call(void 0,0);$.eat.call(void 0,D.TokenType.question),$.popTypeContext.call(void 0,e)}}kt.parsePostMemberNameModifiers=jl;function ar(){if(P.isTypeScriptEnabled?($.eatTypeToken.call(void 0,D.TokenType.bang),dt.tsTryParseTypeAnnotation.call(void 0)):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.colon)&&Mt.flowParseTypeAnnotation.call(void 0),$.match.call(void 0,D.TokenType.eq)){let e=P.state.tokens.length;$.next.call(void 0),De.parseMaybeAssign.call(void 0),P.state.tokens[e].rhsEndIndex=P.state.tokens.length}ee.semicolon.call(void 0)}kt.parseClassProperty=ar;function fv(e,t=!1){P.isTypeScriptEnabled&&(!e||t)&&ee.isContextual.call(void 0,ke.ContextualKeyword._implements)||($.match.call(void 0,D.TokenType.name)&&ks.parseBindingIdentifier.call(void 0,!0),P.isTypeScriptEnabled?dt.tsTryParseTypeParameters.call(void 0):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.lessThan)&&Mt.flowParseTypeParameterDeclaration.call(void 0))}function dv(){let e=!1;$.eat.call(void 0,D.TokenType._extends)?(De.parseExprSubscripts.call(void 0),e=!0):e=!1,P.isTypeScriptEnabled?dt.tsAfterParseClassSuper.call(void 0,e):P.isFlowEnabled&&Mt.flowAfterParseClassSuper.call(void 0,e)}function kh(){let e=P.state.tokens.length-1;P.isTypeScriptEnabled&&dt.tsTryParseExport.call(void 0)||(kv()?vv():Tv()?(De.parseIdentifier.call(void 0),$.match.call(void 0,D.TokenType.comma)&&$.lookaheadType.call(void 0)===D.TokenType.star?(ee.expect.call(void 0,D.TokenType.comma),ee.expect.call(void 0,D.TokenType.star),ee.expectContextual.call(void 0,ke.ContextualKeyword._as),De.parseIdentifier.call(void 0)):vh(),cr()):$.eat.call(void 0,D.TokenType._default)?mv():gv()?yv():(Kl(),cr()),P.state.tokens[e].rhsEndIndex=P.state.tokens.length)}kt.parseExport=kh;function mv(){if(P.isTypeScriptEnabled&&dt.tsTryParseExportDefaultExpression.call(void 0)||P.isFlowEnabled&&Mt.flowTryParseExportDefaultExpression.call(void 0))return;let e=P.state.start;$.eat.call(void 0,D.TokenType._function)?lr(e,!0,!0):ee.isContextual.call(void 0,ke.ContextualKeyword._async)&&$.lookaheadType.call(void 0)===D.TokenType._function?(ee.eatContextual.call(void 0,ke.ContextualKeyword._async),$.eat.call(void 0,D.TokenType._function),lr(e,!0,!0)):$.match.call(void 0,D.TokenType._class)?Io(!0,!0):$.match.call(void 0,D.TokenType.at)?($l(),Io(!0,!0)):(De.parseMaybeAssign.call(void 0),ee.semicolon.call(void 0))}function yv(){P.isTypeScriptEnabled?dt.tsParseExportDeclaration.call(void 0):P.isFlowEnabled?Mt.flowParseExportDeclaration.call(void 0):gn(!0)}function Tv(){if(P.isTypeScriptEnabled&&dt.tsIsDeclarationStart.call(void 0))return!1;if(P.isFlowEnabled&&Mt.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if($.match.call(void 0,D.TokenType.name))return P.state.contextualKeyword!==ke.ContextualKeyword._async;if(!$.match.call(void 0,D.TokenType._default))return!1;let e=$.nextTokenStart.call(void 0),t=$.lookaheadTypeAndKeyword.call(void 0),s=t.type===D.TokenType.name&&t.contextualKeyword===ke.ContextualKeyword._from;if(t.type===D.TokenType.comma)return!0;if(s){let i=P.input.charCodeAt($.nextTokenStartSince.call(void 0,e+4));return i===ch.charCodes.quotationMark||i===ch.charCodes.apostrophe}return!1}function vh(){$.eat.call(void 0,D.TokenType.comma)&&Kl()}function cr(){ee.eatContextual.call(void 0,ke.ContextualKeyword._from)&&(De.parseExprAtom.call(void 0),_h()),ee.semicolon.call(void 0)}kt.parseExportFrom=cr;function kv(){return P.isFlowEnabled?Mt.flowShouldParseExportStar.call(void 0):$.match.call(void 0,D.TokenType.star)}function vv(){P.isFlowEnabled?Mt.flowParseExportStar.call(void 0):xh()}function xh(){ee.expect.call(void 0,D.TokenType.star),ee.isContextual.call(void 0,ke.ContextualKeyword._as)?xv():cr()}kt.baseParseExportStar=xh;function xv(){$.next.call(void 0),P.state.tokens[P.state.tokens.length-1].type=D.TokenType._as,De.parseIdentifier.call(void 0),vh(),cr()}function gv(){return P.isTypeScriptEnabled&&dt.tsIsDeclarationStart.call(void 0)||P.isFlowEnabled&&Mt.flowShouldParseExportDeclaration.call(void 0)||P.state.type===D.TokenType._var||P.state.type===D.TokenType._const||P.state.type===D.TokenType._let||P.state.type===D.TokenType._function||P.state.type===D.TokenType._class||ee.isContextual.call(void 0,ke.ContextualKeyword._async)||$.match.call(void 0,D.TokenType.at)}function Kl(){let e=!0;for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if(e)e=!1;else if(ee.expect.call(void 0,D.TokenType.comma),$.eat.call(void 0,D.TokenType.braceR))break;_v()}}kt.parseExportSpecifiers=Kl;function _v(){if(P.isTypeScriptEnabled){dt.tsParseExportSpecifier.call(void 0);return}De.parseIdentifier.call(void 0),P.state.tokens[P.state.tokens.length-1].identifierRole=$.IdentifierRole.ExportAccess,ee.eatContextual.call(void 0,ke.ContextualKeyword._as)&&De.parseIdentifier.call(void 0)}function bv(){let e=P.state.snapshot();return ee.expectContextual.call(void 0,ke.ContextualKeyword._module),ee.eatContextual.call(void 0,ke.ContextualKeyword._from)?ee.isContextual.call(void 0,ke.ContextualKeyword._from)?(P.state.restoreFromSnapshot(e),!0):(P.state.restoreFromSnapshot(e),!1):$.match.call(void 0,D.TokenType.comma)?(P.state.restoreFromSnapshot(e),!1):(P.state.restoreFromSnapshot(e),!0)}function Cv(){ee.isContextual.call(void 0,ke.ContextualKeyword._module)&&bv()&&$.next.call(void 0)}function gh(){if(P.isTypeScriptEnabled&&$.match.call(void 0,D.TokenType.name)&&$.lookaheadType.call(void 0)===D.TokenType.eq){dt.tsParseImportEqualsDeclaration.call(void 0);return}if(P.isTypeScriptEnabled&&ee.isContextual.call(void 0,ke.ContextualKeyword._type)){let e=$.lookaheadTypeAndKeyword.call(void 0);if(e.type===D.TokenType.name&&e.contextualKeyword!==ke.ContextualKeyword._from){if(ee.expectContextual.call(void 0,ke.ContextualKeyword._type),$.lookaheadType.call(void 0)===D.TokenType.eq){dt.tsParseImportEqualsDeclaration.call(void 0);return}}else(e.type===D.TokenType.star||e.type===D.TokenType.braceL)&&ee.expectContextual.call(void 0,ke.ContextualKeyword._type)}$.match.call(void 0,D.TokenType.string)||(Cv(),Sv(),ee.expectContextual.call(void 0,ke.ContextualKeyword._from)),De.parseExprAtom.call(void 0),_h(),ee.semicolon.call(void 0)}kt.parseImport=gh;function wv(){return $.match.call(void 0,D.TokenType.name)}function ph(){ks.parseImportedIdentifier.call(void 0)}function Sv(){P.isFlowEnabled&&Mt.flowStartParseImportSpecifiers.call(void 0);let e=!0;if(!(wv()&&(ph(),!$.eat.call(void 0,D.TokenType.comma)))){if($.match.call(void 0,D.TokenType.star)){$.next.call(void 0),ee.expectContextual.call(void 0,ke.ContextualKeyword._as),ph();return}for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if(e)e=!1;else if($.eat.call(void 0,D.TokenType.colon)&&ee.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),ee.expect.call(void 0,D.TokenType.comma),$.eat.call(void 0,D.TokenType.braceR))break;Iv()}}}function Iv(){if(P.isTypeScriptEnabled){dt.tsParseImportSpecifier.call(void 0);return}if(P.isFlowEnabled){Mt.flowParseImportSpecifier.call(void 0);return}ks.parseImportedIdentifier.call(void 0),ee.isContextual.call(void 0,ke.ContextualKeyword._as)&&(P.state.tokens[P.state.tokens.length-1].identifierRole=$.IdentifierRole.ImportAccess,$.next.call(void 0),ks.parseImportedIdentifier.call(void 0))}function _h(){ee.isContextual.call(void 0,ke.ContextualKeyword._assert)&&!ee.hasPrecedingLineBreak.call(void 0)&&($.next.call(void 0),De.parseObj.call(void 0,!1,!1))}});var wh=Z(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});var bh=gt(),Ch=Yt(),Hl=Jt(),Ev=nr();function Av(){return Hl.state.pos===0&&Hl.input.charCodeAt(0)===Ch.charCodes.numberSign&&Hl.input.charCodeAt(1)===Ch.charCodes.exclamationMark&&bh.skipLineComment.call(void 0,2),bh.nextToken.call(void 0),Ev.parseTopLevel.call(void 0)}Wl.parseFile=Av});var Ul=Z(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var Eo=Jt(),Pv=wh(),Gl=class{constructor(t,s){this.tokens=t,this.scopes=s}};Ao.File=Gl;function Nv(e,t,s,i){if(i&&s)throw new Error("Cannot combine flow and typescript plugins.");Eo.initParser.call(void 0,e,t,s,i);let r=Pv.parseFile.call(void 0);if(Eo.state.error)throw Eo.augmentError.call(void 0,Eo.state.error);return r}Ao.parse=Nv});var Sh=Z(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var Rv=St();function Lv(e){let t=e.currentIndex(),s=0,i=e.currentToken();do{let r=e.tokens[t];if(r.isOptionalChainStart&&s++,r.isOptionalChainEnd&&s--,s+=r.numNullishCoalesceStarts,s-=r.numNullishCoalesceEnds,r.contextualKeyword===Rv.ContextualKeyword._await&&r.identifierRole==null&&r.scopeDepth===i.scopeDepth)return!0;t+=1}while(s>0&&t<e.tokens.length);return!1}zl.default=Lv});var Ih=Z(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});function Ov(e){return e&&e.__esModule?e:{default:e}}var Po=Ce(),Dv=Sh(),Mv=Ov(Dv),Xl=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,s,i,r,a){this.code=t,this.tokens=s,this.isFlowEnabled=i,this.disableESTransforms=r,this.helperManager=a,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){let s=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,s}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,s){return this.matches1AtIndex(t,Po.TokenType.name)&&this.tokens[t].contextualKeyword===s}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,s){return this.tokens[t].type===s}matches2AtIndex(t,s,i){return this.tokens[t].type===s&&this.tokens[t+1].type===i}matches3AtIndex(t,s,i,r){return this.tokens[t].type===s&&this.tokens[t+1].type===i&&this.tokens[t+2].type===r}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,s){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s}matches3(t,s,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i}matches4(t,s,i,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===r}matches5(t,s,i,r,a){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===r&&this.tokens[this.tokenIndex+4].type===a}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,s){return this.matches1(t)&&this.currentToken().contextId===s}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(Po.TokenType.braceL))t++;else if(this.matches1(Po.TokenType.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=Mv.default.call(void 0,this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let s=0;s<t.numNullishCoalesceStarts;s++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===Po.TokenType._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let s=0;s<t.numNullishCoalesceEnds;s++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}};Yl.default=Xl});var Ph=Z(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var Eh=St(),Ne=Ce();function Fv(e,t,s,i){let r=t.snapshot(),a=Bv(t),u=[],d=[],y=[],g=null,L=[],p=[],h=t.currentToken().contextId;if(h==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(Ne.TokenType.braceR,h);)if(t.matchesContextual(Eh.ContextualKeyword._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:u,constructorInsertPos:g}=Ah(t));else if(t.matches1(Ne.TokenType.semi))i||p.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let T=t.currentIndex(),x=!1,w=!1,S=!1;for(;No(t.currentToken());)t.matches1(Ne.TokenType._static)&&(x=!0),t.matches1(Ne.TokenType.hash)&&(w=!0),(t.matches1(Ne.TokenType._declare)||t.matches1(Ne.TokenType._abstract))&&(S=!0),t.nextToken();if(x&&t.matches1(Ne.TokenType.braceL)){Jl(t,h);continue}if(w){Jl(t,h);continue}if(t.matchesContextual(Eh.ContextualKeyword._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:u,constructorInsertPos:g}=Ah(t));continue}let A=t.currentIndex();if(Vv(t),t.matches1(Ne.TokenType.lessThan)||t.matches1(Ne.TokenType.parenL)){Jl(t,h);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(Ne.TokenType.eq)){let U=t.currentIndex(),M=t.currentToken().rhsEndIndex;if(M==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<M;)e.processToken();let c;x?(c=s.claimFreeName("__initStatic"),y.push(c)):(c=s.claimFreeName("__init"),d.push(c)),L.push({initializerName:c,equalsIndex:U,start:A,end:t.currentIndex()})}else(!i||S)&&p.push({start:T,end:t.currentIndex()})}return t.restoreToSnapshot(r),i?{headerInfo:a,constructorInitializerStatements:u,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:g,fields:[],rangesToRemove:p}:{headerInfo:a,constructorInitializerStatements:u,instanceInitializerNames:d,staticInitializerNames:y,constructorInsertPos:g,fields:L,rangesToRemove:p}}Ql.default=Fv;function Jl(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;No(e.tokenAtRelativeIndex(-1));)e.previousToken()}function Bv(e){let t=e.currentToken(),s=t.contextId;if(s==null)throw new Error("Expected context ID on class token.");let i=t.isExpression;if(i==null)throw new Error("Expected isExpression on class token.");let r=null,a=!1;for(e.nextToken(),e.matches1(Ne.TokenType.name)&&(r=e.identifierName());!e.matchesContextIdAndLabel(Ne.TokenType.braceL,s);)e.matches1(Ne.TokenType._extends)&&!e.currentToken().isType&&(a=!0),e.nextToken();return{isExpression:i,className:r,hasSuperclass:a}}function Ah(e){let t=[];e.nextToken();let s=e.currentToken().contextId;if(s==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(Ne.TokenType.parenR,s);)if(e.currentToken().contextId===s){if(e.nextToken(),No(e.currentToken())){for(e.nextToken();No(e.currentToken());)e.nextToken();let a=e.currentToken();if(a.type!==Ne.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let u=e.identifierNameForToken(a);t.push(`this.${u} = ${u}`)}}else e.nextToken();e.nextToken();let i=e.currentIndex(),r=!1;for(;!e.matchesContextIdAndLabel(Ne.TokenType.braceR,s);){if(!r&&e.matches2(Ne.TokenType._super,Ne.TokenType.parenL)){e.nextToken();let a=e.currentToken().contextId;if(a==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(Ne.TokenType.parenR,a);)e.nextToken();i=e.currentIndex(),r=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:i}}function No(e){return[Ne.TokenType._async,Ne.TokenType._get,Ne.TokenType._set,Ne.TokenType.plus,Ne.TokenType.minus,Ne.TokenType._readonly,Ne.TokenType._static,Ne.TokenType._public,Ne.TokenType._private,Ne.TokenType._protected,Ne.TokenType._override,Ne.TokenType._abstract,Ne.TokenType.star,Ne.TokenType._declare,Ne.TokenType.hash].includes(e.type)}function Vv(e){if(e.matches1(Ne.TokenType.bracketL)){let s=e.currentToken().contextId;if(s==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(Ne.TokenType.bracketR,s);)e.nextToken();e.nextToken()}else e.nextToken()}});var ec=Z(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});var Nh=Ce();function jv(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(Nh.TokenType.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(Nh.TokenType.dot);)e.removeToken(),e.removeToken()}Zl.default=jv});var tc=Z(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});var $v=gt(),qv=Ce(),Kv={typeDeclarations:new Set,valueDeclarations:new Set};Ro.EMPTY_DECLARATION_INFO=Kv;function Uv(e){let t=new Set,s=new Set;for(let i=0;i<e.tokens.length;i++){let r=e.tokens[i];r.type===qv.TokenType.name&&$v.isTopLevelDeclaration.call(void 0,r)&&(r.isType?t.add(e.identifierNameForToken(r)):s.add(e.identifierNameForToken(r)))}return{typeDeclarations:t,valueDeclarations:s}}Ro.default=Uv});var sc=Z(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});var Hv=St(),Rh=Ce();function Wv(e){e.matches2(Rh.TokenType.name,Rh.TokenType.braceL)&&e.matchesContextual(Hv.ContextualKeyword._assert)&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}nc.removeMaybeImportAssertion=Wv});var rc=Z(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});var Lh=Ce();function Gv(e,t,s){if(!e)return!1;let i=t.currentToken();if(i.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let r=i.rhsEndIndex-t.currentIndex();if(r!==3&&!(r===4&&t.matches1AtIndex(i.rhsEndIndex-1,Lh.TokenType.semi)))return!1;let a=t.tokenAtRelativeIndex(2);if(a.type!==Lh.TokenType.name)return!1;let u=t.identifierNameForToken(a);return s.typeDeclarations.has(u)&&!s.valueDeclarations.has(u)}ic.default=Gv});var Dh=Z(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});function ur(e){return e&&e.__esModule?e:{default:e}}var Lo=gt(),Ls=St(),N=Ce(),zv=ec(),Xv=ur(zv),Oh=tc(),Yv=ur(Oh),Jv=Wi(),Qv=ur(Jv),Oo=sc(),Zv=rc(),ex=ur(Zv),tx=un(),nx=ur(tx),oc=class e extends nx.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,s,i,r,a,u,d,y,g,L){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.nameManager=r,this.helperManager=a,this.reactHotLoaderTransformer=u,this.enableLegacyBabel5ModuleInterop=d,this.enableLegacyTypeScriptModuleInterop=y,this.isTypeScriptTransformEnabled=g,this.preserveDynamicImport=L,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=g?Yv.default.call(void 0,s):Oh.EMPTY_DECLARATION_INFO}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?` + `},el=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(t){let s=this.helperNames[t];return s||(s=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=s,s)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[s,i]of Object.entries(AT)){let r=this.helperNames[s],a=i;s==="optionalChainDelete"?a=a.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):s==="asyncOptionalChainDelete"?a=a.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):s==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),a=a.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(t+=" ",t+=a.replace(s,r).replace(/\s+/g," ").trim())}return t}};tl.HelperManager=el});var ip=Z(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});var nl=bt(),co=we();function PT(e,t,s){sp(e,s)&&NT(e,t,s)}uo.default=PT;function sp(e,t){for(let s of e.tokens)if(s.type===co.TokenType.name&&nl.isNonTopLevelDeclaration.call(void 0,s)&&t.has(e.identifierNameForToken(s)))return!0;return!1}uo.hasShadowedGlobals=sp;function NT(e,t,s){let i=[],r=t.length-1;for(let a=e.tokens.length-1;;a--){for(;i.length>0&&i[i.length-1].startTokenIndex===a+1;)i.pop();for(;r>=0&&t[r].endTokenIndex===a+1;)i.push(t[r]),r--;if(a<0)break;let u=e.tokens[a],d=e.identifierNameForToken(u);if(i.length>1&&u.type===co.TokenType.name&&s.has(d)){if(nl.isBlockScopedDeclaration.call(void 0,u))np(i[i.length-1],e,d);else if(nl.isFunctionScopedDeclaration.call(void 0,u)){let v=i.length-1;for(;v>0&&!i[v].isFunctionScope;)v--;if(v<0)throw new Error("Did not find parent function scope.");np(i[v],e,d)}}}if(i.length>0)throw new Error("Expected empty scope stack after processing file.")}function np(e,t,s){for(let i=e.startTokenIndex;i<e.endTokenIndex;i++){let r=t.tokens[i];(r.type===co.TokenType.name||r.type===co.TokenType.jsxName)&&t.identifierNameForToken(r)===s&&(r.shadowsGlobal=!0)}}});var rp=Z(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var RT=we();function LT(e,t){let s=[];for(let i of t)i.type===RT.TokenType.name&&s.push(e.slice(i.start,i.end));return s}sl.default=LT});var op=Z(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});function OT(e){return e&&e.__esModule?e:{default:e}}var DT=rp(),MT=OT(DT),il=class e{__init(){this.usedNames=new Set}constructor(t,s){e.prototype.__init.call(this),this.usedNames=new Set(MT.default.call(void 0,t,s))}claimFreeName(t){let s=this.findFreeName(t);return this.usedNames.add(s),s}findFreeName(t){if(!this.usedNames.has(t))return t;let s=2;for(;this.usedNames.has(t+String(s));)s++;return t+String(s)}};rl.default=il});var po=Z(Ln=>{"use strict";var FT=Ln&&Ln.__extends||function(){var e=function(t,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a])},e(t,s)};return function(t,s){e(t,s);function i(){this.constructor=t}t.prototype=s===null?Object.create(s):(i.prototype=s.prototype,new i)}}();Object.defineProperty(Ln,"__esModule",{value:!0});Ln.DetailContext=Ln.NoopContext=Ln.VError=void 0;var ap=function(e){FT(t,e);function t(s,i){var r=e.call(this,i)||this;return r.path=s,Object.setPrototypeOf(r,t.prototype),r}return t}(Error);Ln.VError=ap;var BT=function(){function e(){}return e.prototype.fail=function(t,s,i){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();Ln.NoopContext=BT;var lp=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,s,i){return this._propNames.push(t),this._messages.push(s),this._score+=i,!1},e.prototype.unionResolver=function(){return new VT},e.prototype.resolveUnion=function(t){for(var s,i,r=t,a=null,u=0,d=r.contexts;u<d.length;u++){var v=d[u];(!a||v._score>=a._score)&&(a=v)}a&&a._score>0&&((s=this._propNames).push.apply(s,a._propNames),(i=this._messages).push.apply(i,a._messages))},e.prototype.getError=function(t){for(var s=[],i=this._propNames.length-1;i>=0;i--){var r=this._propNames[i];t+=typeof r=="number"?"["+r+"]":r?"."+r:"";var a=this._messages[i];a&&s.push(t+" "+a)}return new ap(t,s.join("; "))},e.prototype.getErrorDetail=function(t){for(var s=[],i=this._propNames.length-1;i>=0;i--){var r=this._propNames[i];t+=typeof r=="number"?"["+r+"]":r?"."+r:"";var a=this._messages[i];a&&s.push({path:t,message:a})}for(var u=null,i=s.length-1;i>=0;i--)u&&(s[i].nested=[u]),u=s[i];return u},e}();Ln.DetailContext=lp;var VT=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new lp;return this.contexts.push(t),t},e}()});var fl=Z(ue=>{"use strict";var sn=ue&&ue.__extends||function(){var e=function(t,s){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a])},e(t,s)};return function(t,s){e(t,s);function i(){this.constructor=t}t.prototype=s===null?Object.create(s):(i.prototype=s.prototype,new i)}}();Object.defineProperty(ue,"__esModule",{value:!0});ue.basicTypes=ue.BasicType=ue.TParamList=ue.TParam=ue.param=ue.TFunc=ue.func=ue.TProp=ue.TOptional=ue.opt=ue.TIface=ue.iface=ue.TEnumLiteral=ue.enumlit=ue.TEnumType=ue.enumtype=ue.TIntersection=ue.intersection=ue.TUnion=ue.union=ue.TTuple=ue.tuple=ue.TArray=ue.array=ue.TLiteral=ue.lit=ue.TName=ue.name=ue.TType=void 0;var pp=po(),Wt=function(){function e(){}return e}();ue.TType=Wt;function ms(e){return typeof e=="string"?hp(e):e}function ll(e,t){var s=e[t];if(!s)throw new Error("Unknown type "+t);return s}function hp(e){return new cl(e)}ue.name=hp;var cl=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.name=s,i._failMsg="is not a "+s,i}return t.prototype.getChecker=function(s,i,r){var a=this,u=ll(s,this.name),d=u.getChecker(s,i,r);return u instanceof Ot||u instanceof t?d:function(v,g){return d(v,g)?!0:g.fail(null,a._failMsg,0)}},t}(Wt);ue.TName=cl;function jT(e){return new ul(e)}ue.lit=jT;var ul=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.value=s,i.name=JSON.stringify(s),i._failMsg="is not "+i.name,i}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return a===r.value?!0:u.fail(null,r._failMsg,-1)}},t}(Wt);ue.TLiteral=ul;function $T(e){return new fp(ms(e))}ue.array=$T;var fp=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.ttype=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttype.getChecker(s,i);return function(a,u){if(!Array.isArray(a))return u.fail(null,"is not an array",0);for(var d=0;d<a.length;d++){var v=r(a[d],u);if(!v)return u.fail(d,null,1)}return!0}},t}(Wt);ue.TArray=fp;function KT(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new dp(e.map(function(s){return ms(s)}))}ue.tuple=KT;var dp=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.ttypes=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttypes.map(function(u){return u.getChecker(s,i)}),a=function(u,d){if(!Array.isArray(u))return d.fail(null,"is not an array",0);for(var v=0;v<r.length;v++){var g=r[v](u[v],d);if(!g)return d.fail(v,null,1)}return!0};return i?function(u,d){return a(u,d)?u.length<=r.length?!0:d.fail(r.length,"is extraneous",2):!1}:a},t}(Wt);ue.TTuple=dp;function qT(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new mp(e.map(function(s){return ms(s)}))}ue.union=qT;var mp=function(e){sn(t,e);function t(s){var i=e.call(this)||this;i.ttypes=s;var r=s.map(function(u){return u instanceof cl||u instanceof ul?u.name:null}).filter(function(u){return u}),a=s.length-r.length;return r.length?(a>0&&r.push(a+" more"),i._failMsg="is none of "+r.join(", ")):i._failMsg="is none of "+a+" types",i}return t.prototype.getChecker=function(s,i){var r=this,a=this.ttypes.map(function(u){return u.getChecker(s,i)});return function(u,d){for(var v=d.unionResolver(),g=0;g<a.length;g++){var O=a[g](u,v.createContext());if(O)return!0}return d.resolveUnion(v),d.fail(null,r._failMsg,0)}},t}(Wt);ue.TUnion=mp;function UT(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new Tp(e.map(function(s){return ms(s)}))}ue.intersection=UT;var Tp=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.ttypes=s,i}return t.prototype.getChecker=function(s,i){var r=new Set,a=this.ttypes.map(function(u){return u.getChecker(s,i,r)});return function(u,d){var v=a.every(function(g){return g(u,d)});return v?!0:d.fail(null,null,0)}},t}(Wt);ue.TIntersection=Tp;function HT(e){return new pl(e)}ue.enumtype=HT;var pl=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.members=s,i.validValues=new Set,i._failMsg="is not a valid enum value",i.validValues=new Set(Object.keys(s).map(function(r){return s[r]})),i}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return r.validValues.has(a)?!0:u.fail(null,r._failMsg,0)}},t}(Wt);ue.TEnumType=pl;function WT(e,t){return new yp(e,t)}ue.enumlit=WT;var yp=function(e){sn(t,e);function t(s,i){var r=e.call(this)||this;return r.enumName=s,r.prop=i,r._failMsg="is not "+s+"."+i,r}return t.prototype.getChecker=function(s,i){var r=this,a=ll(s,this.enumName);if(!(a instanceof pl))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var u=a.members[this.prop];if(!a.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(d,v){return d===u?!0:v.fail(null,r._failMsg,-1)}},t}(Wt);ue.TEnumLiteral=yp;function GT(e){return Object.keys(e).map(function(t){return zT(t,e[t])})}function zT(e,t){return t instanceof hl?new al(e,t.ttype,!0):new al(e,ms(t),!1)}function XT(e,t){return new kp(e,GT(t))}ue.iface=XT;var kp=function(e){sn(t,e);function t(s,i){var r=e.call(this)||this;return r.bases=s,r.props=i,r.propSet=new Set(i.map(function(a){return a.name})),r}return t.prototype.getChecker=function(s,i,r){var a=this,u=this.bases.map(function(f){return ll(s,f).getChecker(s,i)}),d=this.props.map(function(f){return f.ttype.getChecker(s,i)}),v=new pp.NoopContext,g=this.props.map(function(f,T){return!f.isOpt&&!d[T](void 0,v)}),O=function(f,T){if(typeof f!="object"||f===null)return T.fail(null,"is not an object",0);for(var x=0;x<u.length;x++)if(!u[x](f,T))return!1;for(var x=0;x<d.length;x++){var w=a.props[x].name,S=f[w];if(S===void 0){if(g[x])return T.fail(w,"is missing",1)}else{var A=d[x](S,T);if(!A)return T.fail(w,null,1)}}return!0};if(!i)return O;var p=this.propSet;return r&&(this.propSet.forEach(function(f){return r.add(f)}),p=r),function(f,T){if(!O(f,T))return!1;for(var x in f)if(!p.has(x))return T.fail(x,"is extraneous",2);return!0}},t}(Wt);ue.TIface=kp;function YT(e){return new hl(ms(e))}ue.opt=YT;var hl=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.ttype=s,i}return t.prototype.getChecker=function(s,i){var r=this.ttype.getChecker(s,i);return function(a,u){return a===void 0||r(a,u)}},t}(Wt);ue.TOptional=hl;var al=function(){function e(t,s,i){this.name=t,this.ttype=s,this.isOpt=i}return e}();ue.TProp=al;function JT(e){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];return new vp(new gp(t),ms(e))}ue.func=JT;var vp=function(e){sn(t,e);function t(s,i){var r=e.call(this)||this;return r.paramList=s,r.result=i,r}return t.prototype.getChecker=function(s,i){return function(r,a){return typeof r=="function"?!0:a.fail(null,"is not a function",0)}},t}(Wt);ue.TFunc=vp;function QT(e,t,s){return new xp(e,ms(t),!!s)}ue.param=QT;var xp=function(){function e(t,s,i){this.name=t,this.ttype=s,this.isOpt=i}return e}();ue.TParam=xp;var gp=function(e){sn(t,e);function t(s){var i=e.call(this)||this;return i.params=s,i}return t.prototype.getChecker=function(s,i){var r=this,a=this.params.map(function(g){return g.ttype.getChecker(s,i)}),u=new pp.NoopContext,d=this.params.map(function(g,O){return!g.isOpt&&!a[O](void 0,u)}),v=function(g,O){if(!Array.isArray(g))return O.fail(null,"is not an array",0);for(var p=0;p<a.length;p++){var f=r.params[p];if(g[p]===void 0){if(d[p])return O.fail(f.name,"is missing",1)}else{var T=a[p](g[p],O);if(!T)return O.fail(f.name,null,1)}}return!0};return i?function(g,O){return v(g,O)?g.length<=a.length?!0:O.fail(a.length,"is extraneous",2):!1}:v},t}(Wt);ue.TParamList=gp;var Ot=function(e){sn(t,e);function t(s,i){var r=e.call(this)||this;return r.validator=s,r.message=i,r}return t.prototype.getChecker=function(s,i){var r=this;return function(a,u){return r.validator(a)?!0:u.fail(null,r.message,0)}},t}(Wt);ue.BasicType=Ot;ue.basicTypes={any:new Ot(function(e){return!0},"is invalid"),number:new Ot(function(e){return typeof e=="number"},"is not a number"),object:new Ot(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Ot(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Ot(function(e){return typeof e=="string"},"is not a string"),symbol:new Ot(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Ot(function(e){return e==null},"is not void"),undefined:new Ot(function(e){return e===void 0},"is not undefined"),null:new Ot(function(e){return e===null},"is not null"),never:new Ot(function(e){return!1},"is unexpected"),Date:new Ot(cp("[object Date]"),"is not a Date"),RegExp:new Ot(cp("[object RegExp]"),"is not a RegExp")};var ZT=Object.prototype.toString;function cp(e){return function(t){return typeof t=="object"&&t&&ZT.call(t)===e}}typeof Buffer<"u"&&(ue.basicTypes.Buffer=new Ot(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var ey=function(e){ue.basicTypes[e.name]=new Ot(function(t){return t instanceof e},"is not a "+e.name)};for(ho=0,ol=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];ho<ol.length;ho++)up=ol[ho],ey(up);var up,ho,ol});var dl=Z(Ie=>{"use strict";var ty=Ie&&Ie.__spreadArrays||function(){for(var e=0,t=0,s=arguments.length;t<s;t++)e+=arguments[t].length;for(var i=Array(e),r=0,t=0;t<s;t++)for(var a=arguments[t],u=0,d=a.length;u<d;u++,r++)i[r]=a[u];return i};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.Checker=Ie.createCheckers=void 0;var Zi=fl(),hi=po(),ze=fl();Object.defineProperty(Ie,"TArray",{enumerable:!0,get:function(){return ze.TArray}});Object.defineProperty(Ie,"TEnumType",{enumerable:!0,get:function(){return ze.TEnumType}});Object.defineProperty(Ie,"TEnumLiteral",{enumerable:!0,get:function(){return ze.TEnumLiteral}});Object.defineProperty(Ie,"TFunc",{enumerable:!0,get:function(){return ze.TFunc}});Object.defineProperty(Ie,"TIface",{enumerable:!0,get:function(){return ze.TIface}});Object.defineProperty(Ie,"TLiteral",{enumerable:!0,get:function(){return ze.TLiteral}});Object.defineProperty(Ie,"TName",{enumerable:!0,get:function(){return ze.TName}});Object.defineProperty(Ie,"TOptional",{enumerable:!0,get:function(){return ze.TOptional}});Object.defineProperty(Ie,"TParam",{enumerable:!0,get:function(){return ze.TParam}});Object.defineProperty(Ie,"TParamList",{enumerable:!0,get:function(){return ze.TParamList}});Object.defineProperty(Ie,"TProp",{enumerable:!0,get:function(){return ze.TProp}});Object.defineProperty(Ie,"TTuple",{enumerable:!0,get:function(){return ze.TTuple}});Object.defineProperty(Ie,"TType",{enumerable:!0,get:function(){return ze.TType}});Object.defineProperty(Ie,"TUnion",{enumerable:!0,get:function(){return ze.TUnion}});Object.defineProperty(Ie,"TIntersection",{enumerable:!0,get:function(){return ze.TIntersection}});Object.defineProperty(Ie,"array",{enumerable:!0,get:function(){return ze.array}});Object.defineProperty(Ie,"enumlit",{enumerable:!0,get:function(){return ze.enumlit}});Object.defineProperty(Ie,"enumtype",{enumerable:!0,get:function(){return ze.enumtype}});Object.defineProperty(Ie,"func",{enumerable:!0,get:function(){return ze.func}});Object.defineProperty(Ie,"iface",{enumerable:!0,get:function(){return ze.iface}});Object.defineProperty(Ie,"lit",{enumerable:!0,get:function(){return ze.lit}});Object.defineProperty(Ie,"name",{enumerable:!0,get:function(){return ze.name}});Object.defineProperty(Ie,"opt",{enumerable:!0,get:function(){return ze.opt}});Object.defineProperty(Ie,"param",{enumerable:!0,get:function(){return ze.param}});Object.defineProperty(Ie,"tuple",{enumerable:!0,get:function(){return ze.tuple}});Object.defineProperty(Ie,"union",{enumerable:!0,get:function(){return ze.union}});Object.defineProperty(Ie,"intersection",{enumerable:!0,get:function(){return ze.intersection}});Object.defineProperty(Ie,"BasicType",{enumerable:!0,get:function(){return ze.BasicType}});var ny=po();Object.defineProperty(Ie,"VError",{enumerable:!0,get:function(){return ny.VError}});function sy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var s=Object.assign.apply(Object,ty([{},Zi.basicTypes],e)),i={},r=0,a=e;r<a.length;r++)for(var u=a[r],d=0,v=Object.keys(u);d<v.length;d++){var g=v[d];i[g]=new _p(s,u[g])}return i}Ie.createCheckers=sy;var _p=function(){function e(t,s,i){if(i===void 0&&(i="value"),this.suite=t,this.ttype=s,this._path=i,this.props=new Map,s instanceof Zi.TIface)for(var r=0,a=s.props;r<a.length;r++){var u=a[r];this.props.set(u.name,u.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return e.prototype.setReportedPath=function(t){this._path=t},e.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},e.prototype.test=function(t){return this.checkerPlain(t,new hi.NoopContext)},e.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},e.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},e.prototype.strictTest=function(t){return this.checkerStrict(t,new hi.NoopContext)},e.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},e.prototype.getProp=function(t){var s=this.props.get(t);if(!s)throw new Error("Type has no property "+t);return new e(this.suite,s,this._path+"."+t)},e.prototype.methodArgs=function(t){var s=this._getMethod(t);return new e(this.suite,s.paramList)},e.prototype.methodResult=function(t){var s=this._getMethod(t);return new e(this.suite,s.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof Zi.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof Zi.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(t,s){var i=new hi.NoopContext;if(!t(s,i)){var r=new hi.DetailContext;throw t(s,r),r.getError(this._path)}},e.prototype._doValidate=function(t,s){var i=new hi.NoopContext;if(t(s,i))return null;var r=new hi.DetailContext;return t(s,r),r.getErrorDetail(this._path)},e.prototype._getMethod=function(t){var s=this.props.get(t);if(!s)throw new Error("Type has no property "+t);if(!(s instanceof Zi.TFunc))throw new Error("Property "+t+" is not a method");return s},e}();Ie.Checker=_p});var bp=Z(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});function iy(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}var ry=dl(),tt=iy(ry),oy=tt.union(tt.lit("jsx"),tt.lit("typescript"),tt.lit("flow"),tt.lit("imports"),tt.lit("react-hot-loader"),tt.lit("jest"));Qn.Transform=oy;var ay=tt.iface([],{compiledFilename:"string"});Qn.SourceMapOptions=ay;var ly=tt.iface([],{transforms:tt.array("Transform"),disableESTransforms:tt.opt("boolean"),jsxRuntime:tt.opt(tt.union(tt.lit("classic"),tt.lit("automatic"),tt.lit("preserve"))),production:tt.opt("boolean"),jsxImportSource:tt.opt("string"),jsxPragma:tt.opt("string"),jsxFragmentPragma:tt.opt("string"),preserveDynamicImport:tt.opt("boolean"),injectCreateRequireForImportRequire:tt.opt("boolean"),enableLegacyTypeScriptModuleInterop:tt.opt("boolean"),enableLegacyBabel5ModuleInterop:tt.opt("boolean"),sourceMapOptions:tt.opt("SourceMapOptions"),filePath:tt.opt("string")});Qn.Options=ly;var cy={Transform:Qn.Transform,SourceMapOptions:Qn.SourceMapOptions,Options:Qn.Options};Qn.default=cy});var Cp=Z(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});function uy(e){return e&&e.__esModule?e:{default:e}}var py=dl(),hy=bp(),fy=uy(hy),{Options:dy}=py.createCheckers.call(void 0,fy.default);function my(e){dy.strictCheck(e)}ml.validateOptions=my});var fo=Z(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});var Ty=nr(),wp=fi(),Dt=bt(),er=It(),fn=we(),Ct=en(),tr=Os(),Tl=fs();function yy(){Dt.next.call(void 0),tr.parseMaybeAssign.call(void 0,!1)}On.parseSpread=yy;function Sp(e){Dt.next.call(void 0),kl(e)}On.parseRest=Sp;function Ip(e){tr.parseIdentifier.call(void 0),Ep(e)}On.parseBindingIdentifier=Ip;function ky(){tr.parseIdentifier.call(void 0),Ct.state.tokens[Ct.state.tokens.length-1].identifierRole=Dt.IdentifierRole.ImportDeclaration}On.parseImportedIdentifier=ky;function Ep(e){let t;Ct.state.scopeDepth===0?t=Dt.IdentifierRole.TopLevelDeclaration:e?t=Dt.IdentifierRole.BlockScopedDeclaration:t=Dt.IdentifierRole.FunctionScopedDeclaration,Ct.state.tokens[Ct.state.tokens.length-1].identifierRole=t}On.markPriorBindingIdentifier=Ep;function kl(e){switch(Ct.state.type){case fn.TokenType._this:{let t=Dt.pushTypeContext.call(void 0,0);Dt.next.call(void 0),Dt.popTypeContext.call(void 0,t);return}case fn.TokenType._yield:case fn.TokenType.name:{Ct.state.type=fn.TokenType.name,Ip(e);return}case fn.TokenType.bracketL:{Dt.next.call(void 0),Ap(fn.TokenType.bracketR,e,!0);return}case fn.TokenType.braceL:tr.parseObj.call(void 0,!0,e);return;default:Tl.unexpected.call(void 0)}}On.parseBindingAtom=kl;function Ap(e,t,s=!1,i=!1,r=0){let a=!0,u=!1,d=Ct.state.tokens.length;for(;!Dt.eat.call(void 0,e)&&!Ct.state.error;)if(a?a=!1:(Tl.expect.call(void 0,fn.TokenType.comma),Ct.state.tokens[Ct.state.tokens.length-1].contextId=r,!u&&Ct.state.tokens[d].isType&&(Ct.state.tokens[Ct.state.tokens.length-1].isType=!0,u=!0)),!(s&&Dt.match.call(void 0,fn.TokenType.comma))){if(Dt.eat.call(void 0,e))break;if(Dt.match.call(void 0,fn.TokenType.ellipsis)){Sp(t),Pp(),Dt.eat.call(void 0,fn.TokenType.comma),Tl.expect.call(void 0,e);break}else vy(i,t)}}On.parseBindingList=Ap;function vy(e,t){e&&wp.tsParseModifiers.call(void 0,[er.ContextualKeyword._public,er.ContextualKeyword._protected,er.ContextualKeyword._private,er.ContextualKeyword._readonly,er.ContextualKeyword._override]),yl(t),Pp(),yl(t,!0)}function Pp(){Ct.isFlowEnabled?Ty.flowParseAssignableListItemTypes.call(void 0):Ct.isTypeScriptEnabled&&wp.tsParseAssignableListItemTypes.call(void 0)}function yl(e,t=!1){if(t||kl(e),!Dt.eat.call(void 0,fn.TokenType.eq))return;let s=Ct.state.tokens.length-1;tr.parseMaybeAssign.call(void 0),Ct.state.tokens[s].rhsEndIndex=Ct.state.tokens.length}On.parseMaybeDefault=yl});var fi=Z(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var k=bt(),oe=It(),y=we(),I=en(),be=Os(),mi=fo(),Dn=ar(),H=fs(),xy=Al();function xl(){return k.match.call(void 0,y.TokenType.name)}function gy(){return k.match.call(void 0,y.TokenType.name)||!!(I.state.type&y.TokenType.IS_KEYWORD)||k.match.call(void 0,y.TokenType.string)||k.match.call(void 0,y.TokenType.num)||k.match.call(void 0,y.TokenType.bigint)||k.match.call(void 0,y.TokenType.decimal)}function Dp(){let e=I.state.snapshot();return k.next.call(void 0),(k.match.call(void 0,y.TokenType.bracketL)||k.match.call(void 0,y.TokenType.braceL)||k.match.call(void 0,y.TokenType.star)||k.match.call(void 0,y.TokenType.ellipsis)||k.match.call(void 0,y.TokenType.hash)||gy())&&!H.hasPrecedingLineBreak.call(void 0)?!0:(I.state.restoreFromSnapshot(e),!1)}function Mp(e){for(;Cl(e)!==null;);}De.tsParseModifiers=Mp;function Cl(e){if(!k.match.call(void 0,y.TokenType.name))return null;let t=I.state.contextualKeyword;if(e.indexOf(t)!==-1&&Dp()){switch(t){case oe.ContextualKeyword._readonly:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._readonly;break;case oe.ContextualKeyword._abstract:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._abstract;break;case oe.ContextualKeyword._static:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._static;break;case oe.ContextualKeyword._public:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._public;break;case oe.ContextualKeyword._private:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._private;break;case oe.ContextualKeyword._protected:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._protected;break;case oe.ContextualKeyword._override:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._override;break;case oe.ContextualKeyword._declare:I.state.tokens[I.state.tokens.length-1].type=y.TokenType._declare;break;default:break}return t}return null}De.tsParseModifier=Cl;function ir(){for(be.parseIdentifier.call(void 0);k.eat.call(void 0,y.TokenType.dot);)be.parseIdentifier.call(void 0)}function _y(){ir(),!H.hasPrecedingLineBreak.call(void 0)&&k.match.call(void 0,y.TokenType.lessThan)&&yi()}function by(){k.next.call(void 0),or()}function Cy(){k.next.call(void 0)}function wy(){H.expect.call(void 0,y.TokenType._typeof),k.match.call(void 0,y.TokenType._import)?Fp():ir(),!H.hasPrecedingLineBreak.call(void 0)&&k.match.call(void 0,y.TokenType.lessThan)&&yi()}function Fp(){H.expect.call(void 0,y.TokenType._import),H.expect.call(void 0,y.TokenType.parenL),H.expect.call(void 0,y.TokenType.string),H.expect.call(void 0,y.TokenType.parenR),k.eat.call(void 0,y.TokenType.dot)&&ir(),k.match.call(void 0,y.TokenType.lessThan)&&yi()}function Sy(){k.eat.call(void 0,y.TokenType._const);let e=k.eat.call(void 0,y.TokenType._in),t=H.eatContextual.call(void 0,oe.ContextualKeyword._out);k.eat.call(void 0,y.TokenType._const),(e||t)&&!k.match.call(void 0,y.TokenType.name)?I.state.tokens[I.state.tokens.length-1].type=y.TokenType.name:be.parseIdentifier.call(void 0),k.eat.call(void 0,y.TokenType._extends)&<(),k.eat.call(void 0,y.TokenType.eq)&<()}function Ti(){k.match.call(void 0,y.TokenType.lessThan)&&To()}De.tsTryParseTypeParameters=Ti;function To(){let e=k.pushTypeContext.call(void 0,0);for(k.match.call(void 0,y.TokenType.lessThan)||k.match.call(void 0,y.TokenType.typeParameterStart)?k.next.call(void 0):H.unexpected.call(void 0);!k.eat.call(void 0,y.TokenType.greaterThan)&&!I.state.error;)Sy(),k.eat.call(void 0,y.TokenType.comma);k.popTypeContext.call(void 0,e)}function wl(e){let t=e===y.TokenType.arrow;Ti(),H.expect.call(void 0,y.TokenType.parenL),I.state.scopeDepth++,Iy(!1),I.state.scopeDepth--,(t||k.match.call(void 0,e))&&sr(e)}function Iy(e){mi.parseBindingList.call(void 0,y.TokenType.parenR,e)}function mo(){k.eat.call(void 0,y.TokenType.comma)||H.semicolon.call(void 0)}function Np(){wl(y.TokenType.colon),mo()}function Ey(){let e=I.state.snapshot();k.next.call(void 0);let t=k.eat.call(void 0,y.TokenType.name)&&k.match.call(void 0,y.TokenType.colon);return I.state.restoreFromSnapshot(e),t}function Bp(){if(!(k.match.call(void 0,y.TokenType.bracketL)&&Ey()))return!1;let e=k.pushTypeContext.call(void 0,0);return H.expect.call(void 0,y.TokenType.bracketL),be.parseIdentifier.call(void 0),or(),H.expect.call(void 0,y.TokenType.bracketR),rr(),mo(),k.popTypeContext.call(void 0,e),!0}function Rp(e){k.eat.call(void 0,y.TokenType.question),!e&&(k.match.call(void 0,y.TokenType.parenL)||k.match.call(void 0,y.TokenType.lessThan))?(wl(y.TokenType.colon),mo()):(rr(),mo())}function Ay(){if(k.match.call(void 0,y.TokenType.parenL)||k.match.call(void 0,y.TokenType.lessThan)){Np();return}if(k.match.call(void 0,y.TokenType._new)){k.next.call(void 0),k.match.call(void 0,y.TokenType.parenL)||k.match.call(void 0,y.TokenType.lessThan)?Np():Rp(!1);return}let e=!!Cl([oe.ContextualKeyword._readonly]);Bp()||((H.isContextual.call(void 0,oe.ContextualKeyword._get)||H.isContextual.call(void 0,oe.ContextualKeyword._set))&&Dp(),be.parsePropertyName.call(void 0,-1),Rp(e))}function Py(){Vp()}function Vp(){for(H.expect.call(void 0,y.TokenType.braceL);!k.eat.call(void 0,y.TokenType.braceR)&&!I.state.error;)Ay()}function Ny(){let e=I.state.snapshot(),t=Ry();return I.state.restoreFromSnapshot(e),t}function Ry(){return k.next.call(void 0),k.eat.call(void 0,y.TokenType.plus)||k.eat.call(void 0,y.TokenType.minus)?H.isContextual.call(void 0,oe.ContextualKeyword._readonly):(H.isContextual.call(void 0,oe.ContextualKeyword._readonly)&&k.next.call(void 0),!k.match.call(void 0,y.TokenType.bracketL)||(k.next.call(void 0),!xl())?!1:(k.next.call(void 0),k.match.call(void 0,y.TokenType._in)))}function Ly(){be.parseIdentifier.call(void 0),H.expect.call(void 0,y.TokenType._in),lt()}function Oy(){H.expect.call(void 0,y.TokenType.braceL),k.match.call(void 0,y.TokenType.plus)||k.match.call(void 0,y.TokenType.minus)?(k.next.call(void 0),H.expectContextual.call(void 0,oe.ContextualKeyword._readonly)):H.eatContextual.call(void 0,oe.ContextualKeyword._readonly),H.expect.call(void 0,y.TokenType.bracketL),Ly(),H.eatContextual.call(void 0,oe.ContextualKeyword._as)&<(),H.expect.call(void 0,y.TokenType.bracketR),k.match.call(void 0,y.TokenType.plus)||k.match.call(void 0,y.TokenType.minus)?(k.next.call(void 0),H.expect.call(void 0,y.TokenType.question)):k.eat.call(void 0,y.TokenType.question),zy(),H.semicolon.call(void 0),H.expect.call(void 0,y.TokenType.braceR)}function Dy(){for(H.expect.call(void 0,y.TokenType.bracketL);!k.eat.call(void 0,y.TokenType.bracketR)&&!I.state.error;)My(),k.eat.call(void 0,y.TokenType.comma)}function My(){k.eat.call(void 0,y.TokenType.ellipsis)?lt():(lt(),k.eat.call(void 0,y.TokenType.question)),k.eat.call(void 0,y.TokenType.colon)&<()}function Fy(){H.expect.call(void 0,y.TokenType.parenL),lt(),H.expect.call(void 0,y.TokenType.parenR)}function By(){for(k.nextTemplateToken.call(void 0),k.nextTemplateToken.call(void 0);!k.match.call(void 0,y.TokenType.backQuote)&&!I.state.error;)H.expect.call(void 0,y.TokenType.dollarBraceL),lt(),k.nextTemplateToken.call(void 0),k.nextTemplateToken.call(void 0);k.next.call(void 0)}var Ts;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let s=1;e[e.TSConstructorType=s]="TSConstructorType";let i=s+1;e[e.TSAbstractConstructorType=i]="TSAbstractConstructorType"})(Ts||(Ts={}));function vl(e){e===Ts.TSAbstractConstructorType&&H.expectContextual.call(void 0,oe.ContextualKeyword._abstract),(e===Ts.TSConstructorType||e===Ts.TSAbstractConstructorType)&&H.expect.call(void 0,y.TokenType._new);let t=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!1,wl(y.TokenType.arrow),I.state.inDisallowConditionalTypesContext=t}function Vy(){switch(I.state.type){case y.TokenType.name:_y();return;case y.TokenType._void:case y.TokenType._null:k.next.call(void 0);return;case y.TokenType.string:case y.TokenType.num:case y.TokenType.bigint:case y.TokenType.decimal:case y.TokenType._true:case y.TokenType._false:be.parseLiteral.call(void 0);return;case y.TokenType.minus:k.next.call(void 0),be.parseLiteral.call(void 0);return;case y.TokenType._this:{Cy(),H.isContextual.call(void 0,oe.ContextualKeyword._is)&&!H.hasPrecedingLineBreak.call(void 0)&&by();return}case y.TokenType._typeof:wy();return;case y.TokenType._import:Fp();return;case y.TokenType.braceL:Ny()?Oy():Py();return;case y.TokenType.bracketL:Dy();return;case y.TokenType.parenL:Fy();return;case y.TokenType.backQuote:By();return;default:if(I.state.type&y.TokenType.IS_KEYWORD){k.next.call(void 0),I.state.tokens[I.state.tokens.length-1].type=y.TokenType.name;return}break}H.unexpected.call(void 0)}function jy(){for(Vy();!H.hasPrecedingLineBreak.call(void 0)&&k.eat.call(void 0,y.TokenType.bracketL);)k.eat.call(void 0,y.TokenType.bracketR)||(lt(),H.expect.call(void 0,y.TokenType.bracketR))}function $y(){if(H.expectContextual.call(void 0,oe.ContextualKeyword._infer),be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType._extends)){let e=I.state.snapshot();H.expect.call(void 0,y.TokenType._extends);let t=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!0,lt(),I.state.inDisallowConditionalTypesContext=t,(I.state.error||!I.state.inDisallowConditionalTypesContext&&k.match.call(void 0,y.TokenType.question))&&I.state.restoreFromSnapshot(e)}}function gl(){if(H.isContextual.call(void 0,oe.ContextualKeyword._keyof)||H.isContextual.call(void 0,oe.ContextualKeyword._unique)||H.isContextual.call(void 0,oe.ContextualKeyword._readonly))k.next.call(void 0),gl();else if(H.isContextual.call(void 0,oe.ContextualKeyword._infer))$y();else{let e=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!1,jy(),I.state.inDisallowConditionalTypesContext=e}}function Lp(){if(k.eat.call(void 0,y.TokenType.bitwiseAND),gl(),k.match.call(void 0,y.TokenType.bitwiseAND))for(;k.eat.call(void 0,y.TokenType.bitwiseAND);)gl()}function Ky(){if(k.eat.call(void 0,y.TokenType.bitwiseOR),Lp(),k.match.call(void 0,y.TokenType.bitwiseOR))for(;k.eat.call(void 0,y.TokenType.bitwiseOR);)Lp()}function qy(){return k.match.call(void 0,y.TokenType.lessThan)?!0:k.match.call(void 0,y.TokenType.parenL)&&Hy()}function Uy(){if(k.match.call(void 0,y.TokenType.name)||k.match.call(void 0,y.TokenType._this))return k.next.call(void 0),!0;if(k.match.call(void 0,y.TokenType.braceL)||k.match.call(void 0,y.TokenType.bracketL)){let e=1;for(k.next.call(void 0);e>0&&!I.state.error;)k.match.call(void 0,y.TokenType.braceL)||k.match.call(void 0,y.TokenType.bracketL)?e++:(k.match.call(void 0,y.TokenType.braceR)||k.match.call(void 0,y.TokenType.bracketR))&&e--,k.next.call(void 0);return!0}return!1}function Hy(){let e=I.state.snapshot(),t=Wy();return I.state.restoreFromSnapshot(e),t}function Wy(){return k.next.call(void 0),!!(k.match.call(void 0,y.TokenType.parenR)||k.match.call(void 0,y.TokenType.ellipsis)||Uy()&&(k.match.call(void 0,y.TokenType.colon)||k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.question)||k.match.call(void 0,y.TokenType.eq)||k.match.call(void 0,y.TokenType.parenR)&&(k.next.call(void 0),k.match.call(void 0,y.TokenType.arrow))))}function sr(e){let t=k.pushTypeContext.call(void 0,0);H.expect.call(void 0,e),Xy()||lt(),k.popTypeContext.call(void 0,t)}function Gy(){k.match.call(void 0,y.TokenType.colon)&&sr(y.TokenType.colon)}function rr(){k.match.call(void 0,y.TokenType.colon)&&or()}De.tsTryParseTypeAnnotation=rr;function zy(){k.eat.call(void 0,y.TokenType.colon)&<()}function Xy(){let e=I.state.snapshot();return H.isContextual.call(void 0,oe.ContextualKeyword._asserts)?(k.next.call(void 0),H.eatContextual.call(void 0,oe.ContextualKeyword._is)?(lt(),!0):xl()||k.match.call(void 0,y.TokenType._this)?(k.next.call(void 0),H.eatContextual.call(void 0,oe.ContextualKeyword._is)&<(),!0):(I.state.restoreFromSnapshot(e),!1)):xl()||k.match.call(void 0,y.TokenType._this)?(k.next.call(void 0),H.isContextual.call(void 0,oe.ContextualKeyword._is)&&!H.hasPrecedingLineBreak.call(void 0)?(k.next.call(void 0),lt(),!0):(I.state.restoreFromSnapshot(e),!1)):!1}function or(){let e=k.pushTypeContext.call(void 0,0);H.expect.call(void 0,y.TokenType.colon),lt(),k.popTypeContext.call(void 0,e)}De.tsParseTypeAnnotation=or;function lt(){if(_l(),I.state.inDisallowConditionalTypesContext||H.hasPrecedingLineBreak.call(void 0)||!k.eat.call(void 0,y.TokenType._extends))return;let e=I.state.inDisallowConditionalTypesContext;I.state.inDisallowConditionalTypesContext=!0,_l(),I.state.inDisallowConditionalTypesContext=e,H.expect.call(void 0,y.TokenType.question),lt(),H.expect.call(void 0,y.TokenType.colon),lt()}De.tsParseType=lt;function Yy(){return H.isContextual.call(void 0,oe.ContextualKeyword._abstract)&&k.lookaheadType.call(void 0)===y.TokenType._new}function _l(){if(qy()){vl(Ts.TSFunctionType);return}if(k.match.call(void 0,y.TokenType._new)){vl(Ts.TSConstructorType);return}else if(Yy()){vl(Ts.TSAbstractConstructorType);return}Ky()}De.tsParseNonConditionalType=_l;function Jy(){let e=k.pushTypeContext.call(void 0,1);lt(),H.expect.call(void 0,y.TokenType.greaterThan),k.popTypeContext.call(void 0,e),be.parseMaybeUnary.call(void 0)}De.tsParseTypeAssertion=Jy;function Qy(){if(k.eat.call(void 0,y.TokenType.jsxTagStart)){I.state.tokens[I.state.tokens.length-1].type=y.TokenType.typeParameterStart;let e=k.pushTypeContext.call(void 0,1);for(;!k.match.call(void 0,y.TokenType.greaterThan)&&!I.state.error;)lt(),k.eat.call(void 0,y.TokenType.comma);xy.nextJSXTagToken.call(void 0),k.popTypeContext.call(void 0,e)}}De.tsTryParseJSXTypeArgument=Qy;function jp(){for(;!k.match.call(void 0,y.TokenType.braceL)&&!I.state.error;)Zy(),k.eat.call(void 0,y.TokenType.comma)}function Zy(){ir(),k.match.call(void 0,y.TokenType.lessThan)&&yi()}function ek(){mi.parseBindingIdentifier.call(void 0,!1),Ti(),k.eat.call(void 0,y.TokenType._extends)&&jp(),Vp()}function tk(){mi.parseBindingIdentifier.call(void 0,!1),Ti(),H.expect.call(void 0,y.TokenType.eq),lt(),H.semicolon.call(void 0)}function nk(){if(k.match.call(void 0,y.TokenType.string)?be.parseLiteral.call(void 0):be.parseIdentifier.call(void 0),k.eat.call(void 0,y.TokenType.eq)){let e=I.state.tokens.length-1;be.parseMaybeAssign.call(void 0),I.state.tokens[e].rhsEndIndex=I.state.tokens.length}}function Sl(){for(mi.parseBindingIdentifier.call(void 0,!1),H.expect.call(void 0,y.TokenType.braceL);!k.eat.call(void 0,y.TokenType.braceR)&&!I.state.error;)nk(),k.eat.call(void 0,y.TokenType.comma)}function Il(){H.expect.call(void 0,y.TokenType.braceL),Dn.parseBlockBody.call(void 0,y.TokenType.braceR)}function bl(){mi.parseBindingIdentifier.call(void 0,!1),k.eat.call(void 0,y.TokenType.dot)?bl():Il()}function $p(){H.isContextual.call(void 0,oe.ContextualKeyword._global)?be.parseIdentifier.call(void 0):k.match.call(void 0,y.TokenType.string)?be.parseExprAtom.call(void 0):H.unexpected.call(void 0),k.match.call(void 0,y.TokenType.braceL)?Il():H.semicolon.call(void 0)}function Kp(){mi.parseImportedIdentifier.call(void 0),H.expect.call(void 0,y.TokenType.eq),ik(),H.semicolon.call(void 0)}De.tsParseImportEqualsDeclaration=Kp;function sk(){return H.isContextual.call(void 0,oe.ContextualKeyword._require)&&k.lookaheadType.call(void 0)===y.TokenType.parenL}function ik(){sk()?rk():ir()}function rk(){H.expectContextual.call(void 0,oe.ContextualKeyword._require),H.expect.call(void 0,y.TokenType.parenL),k.match.call(void 0,y.TokenType.string)||H.unexpected.call(void 0),be.parseLiteral.call(void 0),H.expect.call(void 0,y.TokenType.parenR)}function ok(){if(H.isLineTerminator.call(void 0))return!1;switch(I.state.type){case y.TokenType._function:{let e=k.pushTypeContext.call(void 0,1);k.next.call(void 0);let t=I.state.start;return Dn.parseFunction.call(void 0,t,!0),k.popTypeContext.call(void 0,e),!0}case y.TokenType._class:{let e=k.pushTypeContext.call(void 0,1);return Dn.parseClass.call(void 0,!0,!1),k.popTypeContext.call(void 0,e),!0}case y.TokenType._const:if(k.match.call(void 0,y.TokenType._const)&&H.isLookaheadContextual.call(void 0,oe.ContextualKeyword._enum)){let e=k.pushTypeContext.call(void 0,1);return H.expect.call(void 0,y.TokenType._const),H.expectContextual.call(void 0,oe.ContextualKeyword._enum),I.state.tokens[I.state.tokens.length-1].type=y.TokenType._enum,Sl(),k.popTypeContext.call(void 0,e),!0}case y.TokenType._var:case y.TokenType._let:{let e=k.pushTypeContext.call(void 0,1);return Dn.parseVarStatement.call(void 0,I.state.type!==y.TokenType._var),k.popTypeContext.call(void 0,e),!0}case y.TokenType.name:{let e=k.pushTypeContext.call(void 0,1),t=I.state.contextualKeyword,s=!1;return t===oe.ContextualKeyword._global?($p(),s=!0):s=yo(t,!0),k.popTypeContext.call(void 0,e),s}default:return!1}}function Op(){return yo(I.state.contextualKeyword,!0)}function ak(e){switch(e){case oe.ContextualKeyword._declare:{let t=I.state.tokens.length-1;if(ok())return I.state.tokens[t].type=y.TokenType._declare,!0;break}case oe.ContextualKeyword._global:if(k.match.call(void 0,y.TokenType.braceL))return Il(),!0;break;default:return yo(e,!1)}return!1}function yo(e,t){switch(e){case oe.ContextualKeyword._abstract:if(di(t)&&k.match.call(void 0,y.TokenType._class))return I.state.tokens[I.state.tokens.length-1].type=y.TokenType._abstract,Dn.parseClass.call(void 0,!0,!1),!0;break;case oe.ContextualKeyword._enum:if(di(t)&&k.match.call(void 0,y.TokenType.name))return I.state.tokens[I.state.tokens.length-1].type=y.TokenType._enum,Sl(),!0;break;case oe.ContextualKeyword._interface:if(di(t)&&k.match.call(void 0,y.TokenType.name)){let s=k.pushTypeContext.call(void 0,t?2:1);return ek(),k.popTypeContext.call(void 0,s),!0}break;case oe.ContextualKeyword._module:if(di(t)){if(k.match.call(void 0,y.TokenType.string)){let s=k.pushTypeContext.call(void 0,t?2:1);return $p(),k.popTypeContext.call(void 0,s),!0}else if(k.match.call(void 0,y.TokenType.name)){let s=k.pushTypeContext.call(void 0,t?2:1);return bl(),k.popTypeContext.call(void 0,s),!0}}break;case oe.ContextualKeyword._namespace:if(di(t)&&k.match.call(void 0,y.TokenType.name)){let s=k.pushTypeContext.call(void 0,t?2:1);return bl(),k.popTypeContext.call(void 0,s),!0}break;case oe.ContextualKeyword._type:if(di(t)&&k.match.call(void 0,y.TokenType.name)){let s=k.pushTypeContext.call(void 0,t?2:1);return tk(),k.popTypeContext.call(void 0,s),!0}break;default:break}return!1}function di(e){return e?(k.next.call(void 0),!0):!H.isLineTerminator.call(void 0)}function lk(){let e=I.state.snapshot();return To(),Dn.parseFunctionParams.call(void 0),Gy(),H.expect.call(void 0,y.TokenType.arrow),I.state.error?(I.state.restoreFromSnapshot(e),!1):(be.parseFunctionBody.call(void 0,!0),!0)}function El(){I.state.type===y.TokenType.bitShiftL&&(I.state.pos-=1,k.finishToken.call(void 0,y.TokenType.lessThan)),yi()}function yi(){let e=k.pushTypeContext.call(void 0,0);for(H.expect.call(void 0,y.TokenType.lessThan);!k.eat.call(void 0,y.TokenType.greaterThan)&&!I.state.error;)lt(),k.eat.call(void 0,y.TokenType.comma);k.popTypeContext.call(void 0,e)}function ck(){if(k.match.call(void 0,y.TokenType.name))switch(I.state.contextualKeyword){case oe.ContextualKeyword._abstract:case oe.ContextualKeyword._declare:case oe.ContextualKeyword._enum:case oe.ContextualKeyword._interface:case oe.ContextualKeyword._module:case oe.ContextualKeyword._namespace:case oe.ContextualKeyword._type:return!0;default:break}return!1}De.tsIsDeclarationStart=ck;function uk(e,t){if(k.match.call(void 0,y.TokenType.colon)&&sr(y.TokenType.colon),!k.match.call(void 0,y.TokenType.braceL)&&H.isLineTerminator.call(void 0)){let s=I.state.tokens.length-1;for(;s>=0&&(I.state.tokens[s].start>=e||I.state.tokens[s].type===y.TokenType._default||I.state.tokens[s].type===y.TokenType._export);)I.state.tokens[s].isType=!0,s--;return}be.parseFunctionBody.call(void 0,!1,t)}De.tsParseFunctionBodyAndFinish=uk;function pk(e,t,s){if(!H.hasPrecedingLineBreak.call(void 0)&&k.eat.call(void 0,y.TokenType.bang)){I.state.tokens[I.state.tokens.length-1].type=y.TokenType.nonNullAssertion;return}if(k.match.call(void 0,y.TokenType.lessThan)||k.match.call(void 0,y.TokenType.bitShiftL)){let i=I.state.snapshot();if(!t&&be.atPossibleAsync.call(void 0)&&lk())return;if(El(),!t&&k.eat.call(void 0,y.TokenType.parenL)?(I.state.tokens[I.state.tokens.length-1].subscriptStartIndex=e,be.parseCallExpressionArguments.call(void 0)):k.match.call(void 0,y.TokenType.backQuote)?be.parseTemplate.call(void 0):(I.state.type===y.TokenType.greaterThan||I.state.type!==y.TokenType.parenL&&I.state.type&y.TokenType.IS_EXPRESSION_START&&!H.hasPrecedingLineBreak.call(void 0))&&H.unexpected.call(void 0),I.state.error)I.state.restoreFromSnapshot(i);else return}else!t&&k.match.call(void 0,y.TokenType.questionDot)&&k.lookaheadType.call(void 0)===y.TokenType.lessThan&&(k.next.call(void 0),I.state.tokens[e].isOptionalChainStart=!0,I.state.tokens[I.state.tokens.length-1].subscriptStartIndex=e,yi(),H.expect.call(void 0,y.TokenType.parenL),be.parseCallExpressionArguments.call(void 0));be.baseParseSubscript.call(void 0,e,t,s)}De.tsParseSubscript=pk;function hk(){if(k.eat.call(void 0,y.TokenType._import))return H.isContextual.call(void 0,oe.ContextualKeyword._type)&&k.lookaheadType.call(void 0)!==y.TokenType.eq&&H.expectContextual.call(void 0,oe.ContextualKeyword._type),Kp(),!0;if(k.eat.call(void 0,y.TokenType.eq))return be.parseExpression.call(void 0),H.semicolon.call(void 0),!0;if(H.eatContextual.call(void 0,oe.ContextualKeyword._as))return H.expectContextual.call(void 0,oe.ContextualKeyword._namespace),be.parseIdentifier.call(void 0),H.semicolon.call(void 0),!0;if(H.isContextual.call(void 0,oe.ContextualKeyword._type)){let e=k.lookaheadType.call(void 0);(e===y.TokenType.braceL||e===y.TokenType.star)&&k.next.call(void 0)}return!1}De.tsTryParseExport=hk;function fk(){if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ImportDeclaration;return}if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ImportDeclaration,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0;return}if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-3].identifierRole=k.IdentifierRole.ImportAccess,I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ImportDeclaration;return}be.parseIdentifier.call(void 0),I.state.tokens[I.state.tokens.length-3].identifierRole=k.IdentifierRole.ImportAccess,I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ImportDeclaration,I.state.tokens[I.state.tokens.length-4].isType=!0,I.state.tokens[I.state.tokens.length-3].isType=!0,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0}De.tsParseImportSpecifier=fk;function dk(){if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ExportAccess;return}if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-1].identifierRole=k.IdentifierRole.ExportAccess,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0;return}if(be.parseIdentifier.call(void 0),k.match.call(void 0,y.TokenType.comma)||k.match.call(void 0,y.TokenType.braceR)){I.state.tokens[I.state.tokens.length-3].identifierRole=k.IdentifierRole.ExportAccess;return}be.parseIdentifier.call(void 0),I.state.tokens[I.state.tokens.length-3].identifierRole=k.IdentifierRole.ExportAccess,I.state.tokens[I.state.tokens.length-4].isType=!0,I.state.tokens[I.state.tokens.length-3].isType=!0,I.state.tokens[I.state.tokens.length-2].isType=!0,I.state.tokens[I.state.tokens.length-1].isType=!0}De.tsParseExportSpecifier=dk;function mk(){if(H.isContextual.call(void 0,oe.ContextualKeyword._abstract)&&k.lookaheadType.call(void 0)===y.TokenType._class)return I.state.type=y.TokenType._abstract,k.next.call(void 0),Dn.parseClass.call(void 0,!0,!0),!0;if(H.isContextual.call(void 0,oe.ContextualKeyword._interface)){let e=k.pushTypeContext.call(void 0,2);return yo(oe.ContextualKeyword._interface,!0),k.popTypeContext.call(void 0,e),!0}return!1}De.tsTryParseExportDefaultExpression=mk;function Tk(){if(I.state.type===y.TokenType._const){let e=k.lookaheadTypeAndKeyword.call(void 0);if(e.type===y.TokenType.name&&e.contextualKeyword===oe.ContextualKeyword._enum)return H.expect.call(void 0,y.TokenType._const),H.expectContextual.call(void 0,oe.ContextualKeyword._enum),I.state.tokens[I.state.tokens.length-1].type=y.TokenType._enum,Sl(),!0}return!1}De.tsTryParseStatementContent=Tk;function yk(e){let t=I.state.tokens.length;Mp([oe.ContextualKeyword._abstract,oe.ContextualKeyword._readonly,oe.ContextualKeyword._declare,oe.ContextualKeyword._static,oe.ContextualKeyword._override]);let s=I.state.tokens.length;if(Bp()){let r=e?t-1:t;for(let a=r;a<s;a++)I.state.tokens[a].isType=!0;return!0}return!1}De.tsTryParseClassMemberWithIsStatic=yk;function kk(e){ak(e)||H.semicolon.call(void 0)}De.tsParseIdentifierStatement=kk;function vk(){let e=H.eatContextual.call(void 0,oe.ContextualKeyword._declare);e&&(I.state.tokens[I.state.tokens.length-1].type=y.TokenType._declare);let t=!1;if(k.match.call(void 0,y.TokenType.name))if(e){let s=k.pushTypeContext.call(void 0,2);t=Op(),k.popTypeContext.call(void 0,s)}else t=Op();if(!t)if(e){let s=k.pushTypeContext.call(void 0,2);Dn.parseStatement.call(void 0,!0),k.popTypeContext.call(void 0,s)}else Dn.parseStatement.call(void 0,!0)}De.tsParseExportDeclaration=vk;function xk(e){if(e&&(k.match.call(void 0,y.TokenType.lessThan)||k.match.call(void 0,y.TokenType.bitShiftL))&&El(),H.eatContextual.call(void 0,oe.ContextualKeyword._implements)){I.state.tokens[I.state.tokens.length-1].type=y.TokenType._implements;let t=k.pushTypeContext.call(void 0,1);jp(),k.popTypeContext.call(void 0,t)}}De.tsAfterParseClassSuper=xk;function gk(){Ti()}De.tsStartParseObjPropValue=gk;function _k(){Ti()}De.tsStartParseFunctionParams=_k;function bk(){let e=k.pushTypeContext.call(void 0,0);H.hasPrecedingLineBreak.call(void 0)||k.eat.call(void 0,y.TokenType.bang),rr(),k.popTypeContext.call(void 0,e)}De.tsAfterParseVarHead=bk;function Ck(){k.match.call(void 0,y.TokenType.colon)&&or()}De.tsStartParseAsyncArrowFromCallExpression=Ck;function wk(e,t){return I.isJSXEnabled?qp(e,t):Up(e,t)}De.tsParseMaybeAssign=wk;function qp(e,t){if(!k.match.call(void 0,y.TokenType.lessThan))return be.baseParseMaybeAssign.call(void 0,e,t);let s=I.state.snapshot(),i=be.baseParseMaybeAssign.call(void 0,e,t);if(I.state.error)I.state.restoreFromSnapshot(s);else return i;return I.state.type=y.TokenType.typeParameterStart,To(),i=be.baseParseMaybeAssign.call(void 0,e,t),i||H.unexpected.call(void 0),i}De.tsParseMaybeAssignWithJSX=qp;function Up(e,t){if(!k.match.call(void 0,y.TokenType.lessThan))return be.baseParseMaybeAssign.call(void 0,e,t);let s=I.state.snapshot();To();let i=be.baseParseMaybeAssign.call(void 0,e,t);if(i||H.unexpected.call(void 0),I.state.error)I.state.restoreFromSnapshot(s);else return i;return be.baseParseMaybeAssign.call(void 0,e,t)}De.tsParseMaybeAssignWithoutJSX=Up;function Sk(){if(k.match.call(void 0,y.TokenType.colon)){let e=I.state.snapshot();sr(y.TokenType.colon),H.canInsertSemicolon.call(void 0)&&H.unexpected.call(void 0),k.match.call(void 0,y.TokenType.arrow)||H.unexpected.call(void 0),I.state.error&&I.state.restoreFromSnapshot(e)}return k.eat.call(void 0,y.TokenType.arrow)}De.tsParseArrow=Sk;function Ik(){let e=k.pushTypeContext.call(void 0,0);k.eat.call(void 0,y.TokenType.question),rr(),k.popTypeContext.call(void 0,e)}De.tsParseAssignableListItemTypes=Ik;function Ek(){(k.match.call(void 0,y.TokenType.lessThan)||k.match.call(void 0,y.TokenType.bitShiftL))&&El(),Dn.baseParseMaybeDecoratorArguments.call(void 0)}De.tsParseMaybeDecoratorArguments=Ek});var Al=Z(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});var Ee=bt(),Fe=we(),de=en(),ko=Os(),ys=fs(),ut=Zt(),Hp=ci(),Ak=fi();function Pk(){let e=!1,t=!1;for(;;){if(de.state.pos>=de.input.length){ys.unexpected.call(void 0,"Unterminated JSX contents");return}let s=de.input.charCodeAt(de.state.pos);if(s===ut.charCodes.lessThan||s===ut.charCodes.leftCurlyBrace){if(de.state.pos===de.state.start){if(s===ut.charCodes.lessThan){de.state.pos++,Ee.finishToken.call(void 0,Fe.TokenType.jsxTagStart);return}Ee.getTokenFromCode.call(void 0,s);return}e&&!t?Ee.finishToken.call(void 0,Fe.TokenType.jsxEmptyText):Ee.finishToken.call(void 0,Fe.TokenType.jsxText);return}s===ut.charCodes.lineFeed?e=!0:s!==ut.charCodes.space&&s!==ut.charCodes.carriageReturn&&s!==ut.charCodes.tab&&(t=!0),de.state.pos++}}function Nk(e){for(de.state.pos++;;){if(de.state.pos>=de.input.length){ys.unexpected.call(void 0,"Unterminated string constant");return}if(de.input.charCodeAt(de.state.pos)===e){de.state.pos++;break}de.state.pos++}Ee.finishToken.call(void 0,Fe.TokenType.string)}function Rk(){let e;do{if(de.state.pos>de.input.length){ys.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}e=de.input.charCodeAt(++de.state.pos)}while(Hp.IS_IDENTIFIER_CHAR[e]||e===ut.charCodes.dash);Ee.finishToken.call(void 0,Fe.TokenType.jsxName)}function Pl(){dn()}function Wp(e){if(Pl(),!Ee.eat.call(void 0,Fe.TokenType.colon)){de.state.tokens[de.state.tokens.length-1].identifierRole=e;return}Pl()}function Gp(){let e=de.state.tokens.length;Wp(Ee.IdentifierRole.Access);let t=!1;for(;Ee.match.call(void 0,Fe.TokenType.dot);)t=!0,dn(),Pl();if(!t){let s=de.state.tokens[e],i=de.input.charCodeAt(s.start);i>=ut.charCodes.lowercaseA&&i<=ut.charCodes.lowercaseZ&&(s.identifierRole=null)}}function Lk(){switch(de.state.type){case Fe.TokenType.braceL:Ee.next.call(void 0),ko.parseExpression.call(void 0),dn();return;case Fe.TokenType.jsxTagStart:Xp(),dn();return;case Fe.TokenType.string:dn();return;default:ys.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function Ok(){ys.expect.call(void 0,Fe.TokenType.ellipsis),ko.parseExpression.call(void 0)}function Dk(e){if(Ee.match.call(void 0,Fe.TokenType.jsxTagEnd))return!1;Gp(),de.isTypeScriptEnabled&&Ak.tsTryParseJSXTypeArgument.call(void 0);let t=!1;for(;!Ee.match.call(void 0,Fe.TokenType.slash)&&!Ee.match.call(void 0,Fe.TokenType.jsxTagEnd)&&!de.state.error;){if(Ee.eat.call(void 0,Fe.TokenType.braceL)){t=!0,ys.expect.call(void 0,Fe.TokenType.ellipsis),ko.parseMaybeAssign.call(void 0),dn();continue}t&&de.state.end-de.state.start===3&&de.input.charCodeAt(de.state.start)===ut.charCodes.lowercaseK&&de.input.charCodeAt(de.state.start+1)===ut.charCodes.lowercaseE&&de.input.charCodeAt(de.state.start+2)===ut.charCodes.lowercaseY&&(de.state.tokens[e].jsxRole=Ee.JSXRole.KeyAfterPropSpread),Wp(Ee.IdentifierRole.ObjectKey),Ee.match.call(void 0,Fe.TokenType.eq)&&(dn(),Lk())}let s=Ee.match.call(void 0,Fe.TokenType.slash);return s&&dn(),s}function Mk(){Ee.match.call(void 0,Fe.TokenType.jsxTagEnd)||Gp()}function zp(){let e=de.state.tokens.length-1;de.state.tokens[e].jsxRole=Ee.JSXRole.NoChildren;let t=0;if(!Dk(e))for(ki();;)switch(de.state.type){case Fe.TokenType.jsxTagStart:if(dn(),Ee.match.call(void 0,Fe.TokenType.slash)){dn(),Mk(),de.state.tokens[e].jsxRole!==Ee.JSXRole.KeyAfterPropSpread&&(t===1?de.state.tokens[e].jsxRole=Ee.JSXRole.OneChild:t>1&&(de.state.tokens[e].jsxRole=Ee.JSXRole.StaticChildren));return}t++,zp(),ki();break;case Fe.TokenType.jsxText:t++,ki();break;case Fe.TokenType.jsxEmptyText:ki();break;case Fe.TokenType.braceL:Ee.next.call(void 0),Ee.match.call(void 0,Fe.TokenType.ellipsis)?(Ok(),ki(),t+=2):(Ee.match.call(void 0,Fe.TokenType.braceR)||(t++,ko.parseExpression.call(void 0)),ki());break;default:ys.unexpected.call(void 0);return}}function Xp(){dn(),zp()}vo.jsxParseElement=Xp;function dn(){de.state.tokens.push(new Ee.Token),Ee.skipSpace.call(void 0),de.state.start=de.state.pos;let e=de.input.charCodeAt(de.state.pos);if(Hp.IS_IDENTIFIER_START[e])Rk();else if(e===ut.charCodes.quotationMark||e===ut.charCodes.apostrophe)Nk(e);else switch(++de.state.pos,e){case ut.charCodes.greaterThan:Ee.finishToken.call(void 0,Fe.TokenType.jsxTagEnd);break;case ut.charCodes.lessThan:Ee.finishToken.call(void 0,Fe.TokenType.jsxTagStart);break;case ut.charCodes.slash:Ee.finishToken.call(void 0,Fe.TokenType.slash);break;case ut.charCodes.equalsTo:Ee.finishToken.call(void 0,Fe.TokenType.eq);break;case ut.charCodes.leftCurlyBrace:Ee.finishToken.call(void 0,Fe.TokenType.braceL);break;case ut.charCodes.dot:Ee.finishToken.call(void 0,Fe.TokenType.dot);break;case ut.charCodes.colon:Ee.finishToken.call(void 0,Fe.TokenType.colon);break;default:ys.unexpected.call(void 0)}}vo.nextJSXTagToken=dn;function ki(){de.state.tokens.push(new Ee.Token),de.state.start=de.state.pos,Pk()}});var Jp=Z(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});var xo=bt(),vi=we(),Yp=en(),Fk=Os(),Bk=nr(),Vk=fi();function jk(e){if(xo.match.call(void 0,vi.TokenType.question)){let t=xo.lookaheadType.call(void 0);if(t===vi.TokenType.colon||t===vi.TokenType.comma||t===vi.TokenType.parenR)return}Fk.baseParseConditional.call(void 0,e)}go.typedParseConditional=jk;function $k(){xo.eatTypeToken.call(void 0,vi.TokenType.question),xo.match.call(void 0,vi.TokenType.colon)&&(Yp.isTypeScriptEnabled?Vk.tsParseTypeAnnotation.call(void 0):Yp.isFlowEnabled&&Bk.flowParseTypeAnnotation.call(void 0))}go.typedParseParenItem=$k});var Os=Z(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});var ts=nr(),Kk=Al(),Qp=Jp(),vs=fi(),U=bt(),Zn=It(),Zp=Gr(),B=we(),eh=Zt(),qk=ci(),j=en(),ks=fo(),gn=ar(),Ne=fs(),Co=class{constructor(t){this.stop=t}};st.StopState=Co;function lr(e=!1){if(mn(e),U.match.call(void 0,B.TokenType.comma))for(;U.eat.call(void 0,B.TokenType.comma);)mn(e)}st.parseExpression=lr;function mn(e=!1,t=!1){return j.isTypeScriptEnabled?vs.tsParseMaybeAssign.call(void 0,e,t):j.isFlowEnabled?ts.flowParseMaybeAssign.call(void 0,e,t):th(e,t)}st.parseMaybeAssign=mn;function th(e,t){if(U.match.call(void 0,B.TokenType._yield))return o0(),!1;(U.match.call(void 0,B.TokenType.parenL)||U.match.call(void 0,B.TokenType.name)||U.match.call(void 0,B.TokenType._yield))&&(j.state.potentialArrowAt=j.state.start);let s=Uk(e);return t&&Dl(),j.state.type&B.TokenType.IS_ASSIGN?(U.next.call(void 0),mn(e),!1):s}st.baseParseMaybeAssign=th;function Uk(e){return Wk(e)?!0:(Hk(e),!1)}function Hk(e){j.isTypeScriptEnabled||j.isFlowEnabled?Qp.typedParseConditional.call(void 0,e):nh(e)}function nh(e){U.eat.call(void 0,B.TokenType.question)&&(mn(),Ne.expect.call(void 0,B.TokenType.colon),mn(e))}st.baseParseConditional=nh;function Wk(e){let t=j.state.tokens.length;return ur()?!0:(_o(t,-1,e),!1)}function _o(e,t,s){if(j.isTypeScriptEnabled&&(B.TokenType._in&B.TokenType.PRECEDENCE_MASK)>t&&!Ne.hasPrecedingLineBreak.call(void 0)&&(Ne.eatContextual.call(void 0,Zn.ContextualKeyword._as)||Ne.eatContextual.call(void 0,Zn.ContextualKeyword._satisfies))){let r=U.pushTypeContext.call(void 0,1);vs.tsParseType.call(void 0),U.popTypeContext.call(void 0,r),U.rescan_gt.call(void 0),_o(e,t,s);return}let i=j.state.type&B.TokenType.PRECEDENCE_MASK;if(i>0&&(!s||!U.match.call(void 0,B.TokenType._in))&&i>t){let r=j.state.type;U.next.call(void 0),r===B.TokenType.nullishCoalescing&&(j.state.tokens[j.state.tokens.length-1].nullishStartIndex=e);let a=j.state.tokens.length;ur(),_o(a,r&B.TokenType.IS_RIGHT_ASSOCIATIVE?i-1:i,s),r===B.TokenType.nullishCoalescing&&(j.state.tokens[e].numNullishCoalesceStarts++,j.state.tokens[j.state.tokens.length-1].numNullishCoalesceEnds++),_o(e,t,s)}}function ur(){if(j.isTypeScriptEnabled&&!j.isJSXEnabled&&U.eat.call(void 0,B.TokenType.lessThan))return vs.tsParseTypeAssertion.call(void 0),!1;if(Ne.isContextual.call(void 0,Zn.ContextualKeyword._module)&&U.lookaheadCharCode.call(void 0)===eh.charCodes.leftCurlyBrace&&!Ne.hasFollowingLineBreak.call(void 0))return a0(),!1;if(j.state.type&B.TokenType.IS_PREFIX)return U.next.call(void 0),ur(),!1;if(sh())return!0;for(;j.state.type&B.TokenType.IS_POSTFIX&&!Ne.canInsertSemicolon.call(void 0);)j.state.type===B.TokenType.preIncDec&&(j.state.type=B.TokenType.postIncDec),U.next.call(void 0);return!1}st.parseMaybeUnary=ur;function sh(){let e=j.state.tokens.length;return Io()?!0:(Ll(e),j.state.tokens.length>e&&j.state.tokens[e].isOptionalChainStart&&(j.state.tokens[j.state.tokens.length-1].isOptionalChainEnd=!0),!1)}st.parseExprSubscripts=sh;function Ll(e,t=!1){j.isFlowEnabled?ts.flowParseSubscripts.call(void 0,e,t):ih(e,t)}function ih(e,t=!1){let s=new Co(!1);do Gk(e,t,s);while(!s.stop&&!j.state.error)}st.baseParseSubscripts=ih;function Gk(e,t,s){j.isTypeScriptEnabled?vs.tsParseSubscript.call(void 0,e,t,s):j.isFlowEnabled?ts.flowParseSubscript.call(void 0,e,t,s):rh(e,t,s)}function rh(e,t,s){if(!t&&U.eat.call(void 0,B.TokenType.doubleColon))Ol(),s.stop=!0,Ll(e,t);else if(U.match.call(void 0,B.TokenType.questionDot)){if(j.state.tokens[e].isOptionalChainStart=!0,t&&U.lookaheadType.call(void 0)===B.TokenType.parenL){s.stop=!0;return}U.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,U.eat.call(void 0,B.TokenType.bracketL)?(lr(),Ne.expect.call(void 0,B.TokenType.bracketR)):U.eat.call(void 0,B.TokenType.parenL)?bo():wo()}else if(U.eat.call(void 0,B.TokenType.dot))j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,wo();else if(U.eat.call(void 0,B.TokenType.bracketL))j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e,lr(),Ne.expect.call(void 0,B.TokenType.bracketR);else if(!t&&U.match.call(void 0,B.TokenType.parenL))if(oh()){let i=j.state.snapshot(),r=j.state.tokens.length;U.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e;let a=j.getNextContextId.call(void 0);j.state.tokens[j.state.tokens.length-1].contextId=a,bo(),j.state.tokens[j.state.tokens.length-1].contextId=a,zk()&&(j.state.restoreFromSnapshot(i),s.stop=!0,j.state.scopeDepth++,gn.parseFunctionParams.call(void 0),Xk(r))}else{U.next.call(void 0),j.state.tokens[j.state.tokens.length-1].subscriptStartIndex=e;let i=j.getNextContextId.call(void 0);j.state.tokens[j.state.tokens.length-1].contextId=i,bo(),j.state.tokens[j.state.tokens.length-1].contextId=i}else U.match.call(void 0,B.TokenType.backQuote)?Ml():s.stop=!0}st.baseParseSubscript=rh;function oh(){return j.state.tokens[j.state.tokens.length-1].contextualKeyword===Zn.ContextualKeyword._async&&!Ne.canInsertSemicolon.call(void 0)}st.atPossibleAsync=oh;function bo(){let e=!0;for(;!U.eat.call(void 0,B.TokenType.parenR)&&!j.state.error;){if(e)e=!1;else if(Ne.expect.call(void 0,B.TokenType.comma),U.eat.call(void 0,B.TokenType.parenR))break;hh(!1)}}st.parseCallExpressionArguments=bo;function zk(){return U.match.call(void 0,B.TokenType.colon)||U.match.call(void 0,B.TokenType.arrow)}function Xk(e){j.isTypeScriptEnabled?vs.tsStartParseAsyncArrowFromCallExpression.call(void 0):j.isFlowEnabled&&ts.flowStartParseAsyncArrowFromCallExpression.call(void 0),Ne.expect.call(void 0,B.TokenType.arrow),cr(e)}function Ol(){let e=j.state.tokens.length;Io(),Ll(e,!0)}function Io(){if(U.eat.call(void 0,B.TokenType.modulo))return es(),!1;if(U.match.call(void 0,B.TokenType.jsxText)||U.match.call(void 0,B.TokenType.jsxEmptyText))return ah(),!1;if(U.match.call(void 0,B.TokenType.lessThan)&&j.isJSXEnabled)return j.state.type=B.TokenType.jsxTagStart,Kk.jsxParseElement.call(void 0),U.next.call(void 0),!1;let e=j.state.potentialArrowAt===j.state.start;switch(j.state.type){case B.TokenType.slash:case B.TokenType.assign:U.retokenizeSlashAsRegex.call(void 0);case B.TokenType._super:case B.TokenType._this:case B.TokenType.regexp:case B.TokenType.num:case B.TokenType.bigint:case B.TokenType.decimal:case B.TokenType.string:case B.TokenType._null:case B.TokenType._true:case B.TokenType._false:return U.next.call(void 0),!1;case B.TokenType._import:return U.next.call(void 0),U.match.call(void 0,B.TokenType.dot)&&(j.state.tokens[j.state.tokens.length-1].type=B.TokenType.name,U.next.call(void 0),es()),!1;case B.TokenType.name:{let t=j.state.tokens.length,s=j.state.start,i=j.state.contextualKeyword;return es(),i===Zn.ContextualKeyword._await?(r0(),!1):i===Zn.ContextualKeyword._async&&U.match.call(void 0,B.TokenType._function)&&!Ne.canInsertSemicolon.call(void 0)?(U.next.call(void 0),gn.parseFunction.call(void 0,s,!1),!1):e&&i===Zn.ContextualKeyword._async&&!Ne.canInsertSemicolon.call(void 0)&&U.match.call(void 0,B.TokenType.name)?(j.state.scopeDepth++,ks.parseBindingIdentifier.call(void 0,!1),Ne.expect.call(void 0,B.TokenType.arrow),cr(t),!0):U.match.call(void 0,B.TokenType._do)&&!Ne.canInsertSemicolon.call(void 0)?(U.next.call(void 0),gn.parseBlock.call(void 0),!1):e&&!Ne.canInsertSemicolon.call(void 0)&&U.match.call(void 0,B.TokenType.arrow)?(j.state.scopeDepth++,ks.markPriorBindingIdentifier.call(void 0,!1),Ne.expect.call(void 0,B.TokenType.arrow),cr(t),!0):(j.state.tokens[j.state.tokens.length-1].identifierRole=U.IdentifierRole.Access,!1)}case B.TokenType._do:return U.next.call(void 0),gn.parseBlock.call(void 0),!1;case B.TokenType.parenL:return lh(e);case B.TokenType.bracketL:return U.next.call(void 0),ph(B.TokenType.bracketR,!0),!1;case B.TokenType.braceL:return ch(!1,!1),!1;case B.TokenType._function:return Yk(),!1;case B.TokenType.at:gn.parseDecorators.call(void 0);case B.TokenType._class:return gn.parseClass.call(void 0,!1),!1;case B.TokenType._new:return Zk(),!1;case B.TokenType.backQuote:return Ml(),!1;case B.TokenType.doubleColon:return U.next.call(void 0),Ol(),!1;case B.TokenType.hash:{let t=U.lookaheadCharCode.call(void 0);return qk.IS_IDENTIFIER_START[t]||t===eh.charCodes.backslash?wo():U.next.call(void 0),!1}default:return Ne.unexpected.call(void 0),!1}}st.parseExprAtom=Io;function wo(){U.eat.call(void 0,B.TokenType.hash),es()}function Yk(){let e=j.state.start;es(),U.eat.call(void 0,B.TokenType.dot)&&es(),gn.parseFunction.call(void 0,e,!1)}function ah(){U.next.call(void 0)}st.parseLiteral=ah;function Jk(){Ne.expect.call(void 0,B.TokenType.parenL),lr(),Ne.expect.call(void 0,B.TokenType.parenR)}st.parseParenExpression=Jk;function lh(e){let t=j.state.snapshot(),s=j.state.tokens.length;Ne.expect.call(void 0,B.TokenType.parenL);let i=!0;for(;!U.match.call(void 0,B.TokenType.parenR)&&!j.state.error;){if(i)i=!1;else if(Ne.expect.call(void 0,B.TokenType.comma),U.match.call(void 0,B.TokenType.parenR))break;if(U.match.call(void 0,B.TokenType.ellipsis)){ks.parseRest.call(void 0,!1),Dl();break}else mn(!1,!0)}return Ne.expect.call(void 0,B.TokenType.parenR),e&&Qk()&&Nl()?(j.state.restoreFromSnapshot(t),j.state.scopeDepth++,gn.parseFunctionParams.call(void 0),Nl(),cr(s),j.state.error?(j.state.restoreFromSnapshot(t),lh(!1),!1):!0):!1}function Qk(){return U.match.call(void 0,B.TokenType.colon)||!Ne.canInsertSemicolon.call(void 0)}function Nl(){return j.isTypeScriptEnabled?vs.tsParseArrow.call(void 0):j.isFlowEnabled?ts.flowParseArrow.call(void 0):U.eat.call(void 0,B.TokenType.arrow)}st.parseArrow=Nl;function Dl(){(j.isTypeScriptEnabled||j.isFlowEnabled)&&Qp.typedParseParenItem.call(void 0)}function Zk(){if(Ne.expect.call(void 0,B.TokenType._new),U.eat.call(void 0,B.TokenType.dot)){es();return}e0(),j.isFlowEnabled&&ts.flowStartParseNewArguments.call(void 0),U.eat.call(void 0,B.TokenType.parenL)&&ph(B.TokenType.parenR)}function e0(){Ol(),U.eat.call(void 0,B.TokenType.questionDot)}function Ml(){for(U.nextTemplateToken.call(void 0),U.nextTemplateToken.call(void 0);!U.match.call(void 0,B.TokenType.backQuote)&&!j.state.error;)Ne.expect.call(void 0,B.TokenType.dollarBraceL),lr(),U.nextTemplateToken.call(void 0),U.nextTemplateToken.call(void 0);U.next.call(void 0)}st.parseTemplate=Ml;function ch(e,t){let s=j.getNextContextId.call(void 0),i=!0;for(U.next.call(void 0),j.state.tokens[j.state.tokens.length-1].contextId=s;!U.eat.call(void 0,B.TokenType.braceR)&&!j.state.error;){if(i)i=!1;else if(Ne.expect.call(void 0,B.TokenType.comma),U.eat.call(void 0,B.TokenType.braceR))break;let r=!1;if(U.match.call(void 0,B.TokenType.ellipsis)){let a=j.state.tokens.length;if(ks.parseSpread.call(void 0),e&&(j.state.tokens.length===a+2&&ks.markPriorBindingIdentifier.call(void 0,t),U.eat.call(void 0,B.TokenType.braceR)))break;continue}e||(r=U.eat.call(void 0,B.TokenType.star)),!e&&Ne.isContextual.call(void 0,Zn.ContextualKeyword._async)?(r&&Ne.unexpected.call(void 0),es(),U.match.call(void 0,B.TokenType.colon)||U.match.call(void 0,B.TokenType.parenL)||U.match.call(void 0,B.TokenType.braceR)||U.match.call(void 0,B.TokenType.eq)||U.match.call(void 0,B.TokenType.comma)||(U.match.call(void 0,B.TokenType.star)&&(U.next.call(void 0),r=!0),So(s))):So(s),i0(e,t,s)}j.state.tokens[j.state.tokens.length-1].contextId=s}st.parseObj=ch;function t0(e){return!e&&(U.match.call(void 0,B.TokenType.string)||U.match.call(void 0,B.TokenType.num)||U.match.call(void 0,B.TokenType.bracketL)||U.match.call(void 0,B.TokenType.name)||!!(j.state.type&B.TokenType.IS_KEYWORD))}function n0(e,t){let s=j.state.start;return U.match.call(void 0,B.TokenType.parenL)?(e&&Ne.unexpected.call(void 0),Rl(s,!1),!0):t0(e)?(So(t),Rl(s,!1),!0):!1}function s0(e,t){if(U.eat.call(void 0,B.TokenType.colon)){e?ks.parseMaybeDefault.call(void 0,t):mn(!1);return}let s;e?j.state.scopeDepth===0?s=U.IdentifierRole.ObjectShorthandTopLevelDeclaration:t?s=U.IdentifierRole.ObjectShorthandBlockScopedDeclaration:s=U.IdentifierRole.ObjectShorthandFunctionScopedDeclaration:s=U.IdentifierRole.ObjectShorthand,j.state.tokens[j.state.tokens.length-1].identifierRole=s,ks.parseMaybeDefault.call(void 0,t,!0)}function i0(e,t,s){j.isTypeScriptEnabled?vs.tsStartParseObjPropValue.call(void 0):j.isFlowEnabled&&ts.flowStartParseObjPropValue.call(void 0),n0(e,s)||s0(e,t)}function So(e){j.isFlowEnabled&&ts.flowParseVariance.call(void 0),U.eat.call(void 0,B.TokenType.bracketL)?(j.state.tokens[j.state.tokens.length-1].contextId=e,mn(),Ne.expect.call(void 0,B.TokenType.bracketR),j.state.tokens[j.state.tokens.length-1].contextId=e):(U.match.call(void 0,B.TokenType.num)||U.match.call(void 0,B.TokenType.string)||U.match.call(void 0,B.TokenType.bigint)||U.match.call(void 0,B.TokenType.decimal)?Io():wo(),j.state.tokens[j.state.tokens.length-1].identifierRole=U.IdentifierRole.ObjectKey,j.state.tokens[j.state.tokens.length-1].contextId=e)}st.parsePropertyName=So;function Rl(e,t){let s=j.getNextContextId.call(void 0);j.state.scopeDepth++;let i=j.state.tokens.length,r=t;gn.parseFunctionParams.call(void 0,r,s),uh(e,s);let a=j.state.tokens.length;j.state.scopes.push(new Zp.Scope(i,a,!0)),j.state.scopeDepth--}st.parseMethod=Rl;function cr(e){Fl(!0);let t=j.state.tokens.length;j.state.scopes.push(new Zp.Scope(e,t,!0)),j.state.scopeDepth--}st.parseArrowExpression=cr;function uh(e,t=0){j.isTypeScriptEnabled?vs.tsParseFunctionBodyAndFinish.call(void 0,e,t):j.isFlowEnabled?ts.flowParseFunctionBodyAndFinish.call(void 0,t):Fl(!1,t)}st.parseFunctionBodyAndFinish=uh;function Fl(e,t=0){e&&!U.match.call(void 0,B.TokenType.braceL)?mn():gn.parseBlock.call(void 0,!0,t)}st.parseFunctionBody=Fl;function ph(e,t=!1){let s=!0;for(;!U.eat.call(void 0,e)&&!j.state.error;){if(s)s=!1;else if(Ne.expect.call(void 0,B.TokenType.comma),U.eat.call(void 0,e))break;hh(t)}}function hh(e){e&&U.match.call(void 0,B.TokenType.comma)||(U.match.call(void 0,B.TokenType.ellipsis)?(ks.parseSpread.call(void 0),Dl()):U.match.call(void 0,B.TokenType.question)?U.next.call(void 0):mn(!1,!0))}function es(){U.next.call(void 0),j.state.tokens[j.state.tokens.length-1].type=B.TokenType.name}st.parseIdentifier=es;function r0(){ur()}function o0(){U.next.call(void 0),!U.match.call(void 0,B.TokenType.semi)&&!Ne.canInsertSemicolon.call(void 0)&&(U.eat.call(void 0,B.TokenType.star),mn())}function a0(){Ne.expectContextual.call(void 0,Zn.ContextualKeyword._module),Ne.expect.call(void 0,B.TokenType.braceL),gn.parseBlockBody.call(void 0,B.TokenType.braceR)}});var nr=Z(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});var C=bt(),ye=It(),_=we(),pe=en(),$e=Os(),xs=ar(),z=fs();function l0(e){return(e.type===_.TokenType.name||!!(e.type&_.TokenType.IS_KEYWORD))&&e.contextualKeyword!==ye.ContextualKeyword._from}function Mn(e){let t=C.pushTypeContext.call(void 0,0);z.expect.call(void 0,e||_.TokenType.colon),Gt(),C.popTypeContext.call(void 0,t)}function fh(){z.expect.call(void 0,_.TokenType.modulo),z.expectContextual.call(void 0,ye.ContextualKeyword._checks),C.eat.call(void 0,_.TokenType.parenL)&&($e.parseExpression.call(void 0),z.expect.call(void 0,_.TokenType.parenR))}function jl(){let e=C.pushTypeContext.call(void 0,0);z.expect.call(void 0,_.TokenType.colon),C.match.call(void 0,_.TokenType.modulo)?fh():(Gt(),C.match.call(void 0,_.TokenType.modulo)&&fh()),C.popTypeContext.call(void 0,e)}function c0(){C.next.call(void 0),$l(!0)}function u0(){C.next.call(void 0),$e.parseIdentifier.call(void 0),C.match.call(void 0,_.TokenType.lessThan)&&Fn(),z.expect.call(void 0,_.TokenType.parenL),Vl(),z.expect.call(void 0,_.TokenType.parenR),jl(),z.semicolon.call(void 0)}function Bl(){C.match.call(void 0,_.TokenType._class)?c0():C.match.call(void 0,_.TokenType._function)?u0():C.match.call(void 0,_.TokenType._var)?p0():z.eatContextual.call(void 0,ye.ContextualKeyword._module)?C.eat.call(void 0,_.TokenType.dot)?d0():h0():z.isContextual.call(void 0,ye.ContextualKeyword._type)?m0():z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?T0():z.isContextual.call(void 0,ye.ContextualKeyword._interface)?y0():C.match.call(void 0,_.TokenType._export)?f0():z.unexpected.call(void 0)}function p0(){C.next.call(void 0),vh(),z.semicolon.call(void 0)}function h0(){for(C.match.call(void 0,_.TokenType.string)?$e.parseExprAtom.call(void 0):$e.parseIdentifier.call(void 0),z.expect.call(void 0,_.TokenType.braceL);!C.match.call(void 0,_.TokenType.braceR)&&!pe.state.error;)C.match.call(void 0,_.TokenType._import)?(C.next.call(void 0),xs.parseImport.call(void 0)):z.unexpected.call(void 0);z.expect.call(void 0,_.TokenType.braceR)}function f0(){z.expect.call(void 0,_.TokenType._export),C.eat.call(void 0,_.TokenType._default)?C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._class)?Bl():(Gt(),z.semicolon.call(void 0)):C.match.call(void 0,_.TokenType._var)||C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._class)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?Bl():C.match.call(void 0,_.TokenType.star)||C.match.call(void 0,_.TokenType.braceL)||z.isContextual.call(void 0,ye.ContextualKeyword._interface)||z.isContextual.call(void 0,ye.ContextualKeyword._type)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)?xs.parseExport.call(void 0):z.unexpected.call(void 0)}function d0(){z.expectContextual.call(void 0,ye.ContextualKeyword._exports),xi(),z.semicolon.call(void 0)}function m0(){C.next.call(void 0),ql()}function T0(){C.next.call(void 0),Ul(!0)}function y0(){C.next.call(void 0),$l()}function $l(e=!1){if(No(),C.match.call(void 0,_.TokenType.lessThan)&&Fn(),C.eat.call(void 0,_.TokenType._extends))do Eo();while(!e&&C.eat.call(void 0,_.TokenType.comma));if(z.isContextual.call(void 0,ye.ContextualKeyword._mixins)){C.next.call(void 0);do Eo();while(C.eat.call(void 0,_.TokenType.comma))}if(z.isContextual.call(void 0,ye.ContextualKeyword._implements)){C.next.call(void 0);do Eo();while(C.eat.call(void 0,_.TokenType.comma))}Ao(e,!1,e)}function Eo(){Th(!1),C.match.call(void 0,_.TokenType.lessThan)&&Ds()}function Kl(){$l()}function No(){$e.parseIdentifier.call(void 0)}function ql(){No(),C.match.call(void 0,_.TokenType.lessThan)&&Fn(),Mn(_.TokenType.eq),z.semicolon.call(void 0)}function Ul(e){z.expectContextual.call(void 0,ye.ContextualKeyword._type),No(),C.match.call(void 0,_.TokenType.lessThan)&&Fn(),C.match.call(void 0,_.TokenType.colon)&&Mn(_.TokenType.colon),e||Mn(_.TokenType.eq),z.semicolon.call(void 0)}function k0(){Gl(),vh(),C.eat.call(void 0,_.TokenType.eq)&&Gt()}function Fn(){let e=C.pushTypeContext.call(void 0,0);C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.typeParameterStart)?C.next.call(void 0):z.unexpected.call(void 0);do k0(),C.match.call(void 0,_.TokenType.greaterThan)||z.expect.call(void 0,_.TokenType.comma);while(!C.match.call(void 0,_.TokenType.greaterThan)&&!pe.state.error);z.expect.call(void 0,_.TokenType.greaterThan),C.popTypeContext.call(void 0,e)}Ze.flowParseTypeParameterDeclaration=Fn;function Ds(){let e=C.pushTypeContext.call(void 0,0);for(z.expect.call(void 0,_.TokenType.lessThan);!C.match.call(void 0,_.TokenType.greaterThan)&&!pe.state.error;)Gt(),C.match.call(void 0,_.TokenType.greaterThan)||z.expect.call(void 0,_.TokenType.comma);z.expect.call(void 0,_.TokenType.greaterThan),C.popTypeContext.call(void 0,e)}function v0(){if(z.expectContextual.call(void 0,ye.ContextualKeyword._interface),C.eat.call(void 0,_.TokenType._extends))do Eo();while(C.eat.call(void 0,_.TokenType.comma));Ao(!1,!1,!1)}function Hl(){C.match.call(void 0,_.TokenType.num)||C.match.call(void 0,_.TokenType.string)?$e.parseExprAtom.call(void 0):$e.parseIdentifier.call(void 0)}function x0(){C.lookaheadType.call(void 0)===_.TokenType.colon?(Hl(),Mn()):Gt(),z.expect.call(void 0,_.TokenType.bracketR),Mn()}function g0(){Hl(),z.expect.call(void 0,_.TokenType.bracketR),z.expect.call(void 0,_.TokenType.bracketR),C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.parenL)?Wl():(C.eat.call(void 0,_.TokenType.question),Mn())}function Wl(){for(C.match.call(void 0,_.TokenType.lessThan)&&Fn(),z.expect.call(void 0,_.TokenType.parenL);!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis)&&!pe.state.error;)Po(),C.match.call(void 0,_.TokenType.parenR)||z.expect.call(void 0,_.TokenType.comma);C.eat.call(void 0,_.TokenType.ellipsis)&&Po(),z.expect.call(void 0,_.TokenType.parenR),Mn()}function _0(){Wl()}function Ao(e,t,s){let i;for(t&&C.match.call(void 0,_.TokenType.braceBarL)?(z.expect.call(void 0,_.TokenType.braceBarL),i=_.TokenType.braceBarR):(z.expect.call(void 0,_.TokenType.braceL),i=_.TokenType.braceR);!C.match.call(void 0,i)&&!pe.state.error;){if(s&&z.isContextual.call(void 0,ye.ContextualKeyword._proto)){let r=C.lookaheadType.call(void 0);r!==_.TokenType.colon&&r!==_.TokenType.question&&(C.next.call(void 0),e=!1)}if(e&&z.isContextual.call(void 0,ye.ContextualKeyword._static)){let r=C.lookaheadType.call(void 0);r!==_.TokenType.colon&&r!==_.TokenType.question&&C.next.call(void 0)}if(Gl(),C.eat.call(void 0,_.TokenType.bracketL))C.eat.call(void 0,_.TokenType.bracketL)?g0():x0();else if(C.match.call(void 0,_.TokenType.parenL)||C.match.call(void 0,_.TokenType.lessThan))_0();else{if(z.isContextual.call(void 0,ye.ContextualKeyword._get)||z.isContextual.call(void 0,ye.ContextualKeyword._set)){let r=C.lookaheadType.call(void 0);(r===_.TokenType.name||r===_.TokenType.string||r===_.TokenType.num)&&C.next.call(void 0)}b0()}C0()}z.expect.call(void 0,i)}function b0(){if(C.match.call(void 0,_.TokenType.ellipsis)){if(z.expect.call(void 0,_.TokenType.ellipsis),C.eat.call(void 0,_.TokenType.comma)||C.eat.call(void 0,_.TokenType.semi),C.match.call(void 0,_.TokenType.braceR))return;Gt()}else Hl(),C.match.call(void 0,_.TokenType.lessThan)||C.match.call(void 0,_.TokenType.parenL)?Wl():(C.eat.call(void 0,_.TokenType.question),Mn())}function C0(){!C.eat.call(void 0,_.TokenType.semi)&&!C.eat.call(void 0,_.TokenType.comma)&&!C.match.call(void 0,_.TokenType.braceR)&&!C.match.call(void 0,_.TokenType.braceBarR)&&z.unexpected.call(void 0)}function Th(e){for(e||$e.parseIdentifier.call(void 0);C.eat.call(void 0,_.TokenType.dot);)$e.parseIdentifier.call(void 0)}function w0(){Th(!0),C.match.call(void 0,_.TokenType.lessThan)&&Ds()}function S0(){z.expect.call(void 0,_.TokenType._typeof),yh()}function I0(){for(z.expect.call(void 0,_.TokenType.bracketL);pe.state.pos<pe.input.length&&!C.match.call(void 0,_.TokenType.bracketR)&&(Gt(),!C.match.call(void 0,_.TokenType.bracketR));)z.expect.call(void 0,_.TokenType.comma);z.expect.call(void 0,_.TokenType.bracketR)}function Po(){let e=C.lookaheadType.call(void 0);e===_.TokenType.colon||e===_.TokenType.question?($e.parseIdentifier.call(void 0),C.eat.call(void 0,_.TokenType.question),Mn()):Gt()}function Vl(){for(;!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis)&&!pe.state.error;)Po(),C.match.call(void 0,_.TokenType.parenR)||z.expect.call(void 0,_.TokenType.comma);C.eat.call(void 0,_.TokenType.ellipsis)&&Po()}function yh(){let e=!1,t=pe.state.noAnonFunctionType;switch(pe.state.type){case _.TokenType.name:{if(z.isContextual.call(void 0,ye.ContextualKeyword._interface)){v0();return}$e.parseIdentifier.call(void 0),w0();return}case _.TokenType.braceL:Ao(!1,!1,!1);return;case _.TokenType.braceBarL:Ao(!1,!0,!1);return;case _.TokenType.bracketL:I0();return;case _.TokenType.lessThan:Fn(),z.expect.call(void 0,_.TokenType.parenL),Vl(),z.expect.call(void 0,_.TokenType.parenR),z.expect.call(void 0,_.TokenType.arrow),Gt();return;case _.TokenType.parenL:if(C.next.call(void 0),!C.match.call(void 0,_.TokenType.parenR)&&!C.match.call(void 0,_.TokenType.ellipsis))if(C.match.call(void 0,_.TokenType.name)){let s=C.lookaheadType.call(void 0);e=s!==_.TokenType.question&&s!==_.TokenType.colon}else e=!0;if(e)if(pe.state.noAnonFunctionType=!1,Gt(),pe.state.noAnonFunctionType=t,pe.state.noAnonFunctionType||!(C.match.call(void 0,_.TokenType.comma)||C.match.call(void 0,_.TokenType.parenR)&&C.lookaheadType.call(void 0)===_.TokenType.arrow)){z.expect.call(void 0,_.TokenType.parenR);return}else C.eat.call(void 0,_.TokenType.comma);Vl(),z.expect.call(void 0,_.TokenType.parenR),z.expect.call(void 0,_.TokenType.arrow),Gt();return;case _.TokenType.minus:C.next.call(void 0),$e.parseLiteral.call(void 0);return;case _.TokenType.string:case _.TokenType.num:case _.TokenType._true:case _.TokenType._false:case _.TokenType._null:case _.TokenType._this:case _.TokenType._void:case _.TokenType.star:C.next.call(void 0);return;default:if(pe.state.type===_.TokenType._typeof){S0();return}else if(pe.state.type&_.TokenType.IS_KEYWORD){C.next.call(void 0),pe.state.tokens[pe.state.tokens.length-1].type=_.TokenType.name;return}}z.unexpected.call(void 0)}function E0(){for(yh();!z.canInsertSemicolon.call(void 0)&&(C.match.call(void 0,_.TokenType.bracketL)||C.match.call(void 0,_.TokenType.questionDot));)C.eat.call(void 0,_.TokenType.questionDot),z.expect.call(void 0,_.TokenType.bracketL),C.eat.call(void 0,_.TokenType.bracketR)||(Gt(),z.expect.call(void 0,_.TokenType.bracketR))}function kh(){C.eat.call(void 0,_.TokenType.question)?kh():E0()}function dh(){kh(),!pe.state.noAnonFunctionType&&C.eat.call(void 0,_.TokenType.arrow)&&Gt()}function mh(){for(C.eat.call(void 0,_.TokenType.bitwiseAND),dh();C.eat.call(void 0,_.TokenType.bitwiseAND);)dh()}function A0(){for(C.eat.call(void 0,_.TokenType.bitwiseOR),mh();C.eat.call(void 0,_.TokenType.bitwiseOR);)mh()}function Gt(){A0()}function xi(){Mn()}Ze.flowParseTypeAnnotation=xi;function vh(){$e.parseIdentifier.call(void 0),C.match.call(void 0,_.TokenType.colon)&&xi()}function Gl(){(C.match.call(void 0,_.TokenType.plus)||C.match.call(void 0,_.TokenType.minus))&&(C.next.call(void 0),pe.state.tokens[pe.state.tokens.length-1].isType=!0)}Ze.flowParseVariance=Gl;function P0(e){C.match.call(void 0,_.TokenType.colon)&&jl(),$e.parseFunctionBody.call(void 0,!1,e)}Ze.flowParseFunctionBodyAndFinish=P0;function N0(e,t,s){if(C.match.call(void 0,_.TokenType.questionDot)&&C.lookaheadType.call(void 0)===_.TokenType.lessThan){if(t){s.stop=!0;return}C.next.call(void 0),Ds(),z.expect.call(void 0,_.TokenType.parenL),$e.parseCallExpressionArguments.call(void 0);return}else if(!t&&C.match.call(void 0,_.TokenType.lessThan)){let i=pe.state.snapshot();if(Ds(),z.expect.call(void 0,_.TokenType.parenL),$e.parseCallExpressionArguments.call(void 0),pe.state.error)pe.state.restoreFromSnapshot(i);else return}$e.baseParseSubscript.call(void 0,e,t,s)}Ze.flowParseSubscript=N0;function R0(){if(C.match.call(void 0,_.TokenType.lessThan)){let e=pe.state.snapshot();Ds(),pe.state.error&&pe.state.restoreFromSnapshot(e)}}Ze.flowStartParseNewArguments=R0;function L0(){if(C.match.call(void 0,_.TokenType.name)&&pe.state.contextualKeyword===ye.ContextualKeyword._interface){let e=C.pushTypeContext.call(void 0,0);return C.next.call(void 0),Kl(),C.popTypeContext.call(void 0,e),!0}else if(z.isContextual.call(void 0,ye.ContextualKeyword._enum))return xh(),!0;return!1}Ze.flowTryParseStatement=L0;function O0(){return z.isContextual.call(void 0,ye.ContextualKeyword._enum)?(xh(),!0):!1}Ze.flowTryParseExportDefaultExpression=O0;function D0(e){if(e===ye.ContextualKeyword._declare){if(C.match.call(void 0,_.TokenType._class)||C.match.call(void 0,_.TokenType.name)||C.match.call(void 0,_.TokenType._function)||C.match.call(void 0,_.TokenType._var)||C.match.call(void 0,_.TokenType._export)){let t=C.pushTypeContext.call(void 0,1);Bl(),C.popTypeContext.call(void 0,t)}}else if(C.match.call(void 0,_.TokenType.name)){if(e===ye.ContextualKeyword._interface){let t=C.pushTypeContext.call(void 0,1);Kl(),C.popTypeContext.call(void 0,t)}else if(e===ye.ContextualKeyword._type){let t=C.pushTypeContext.call(void 0,1);ql(),C.popTypeContext.call(void 0,t)}else if(e===ye.ContextualKeyword._opaque){let t=C.pushTypeContext.call(void 0,1);Ul(!1),C.popTypeContext.call(void 0,t)}}z.semicolon.call(void 0)}Ze.flowParseIdentifierStatement=D0;function M0(){return z.isContextual.call(void 0,ye.ContextualKeyword._type)||z.isContextual.call(void 0,ye.ContextualKeyword._interface)||z.isContextual.call(void 0,ye.ContextualKeyword._opaque)||z.isContextual.call(void 0,ye.ContextualKeyword._enum)}Ze.flowShouldParseExportDeclaration=M0;function F0(){return C.match.call(void 0,_.TokenType.name)&&(pe.state.contextualKeyword===ye.ContextualKeyword._type||pe.state.contextualKeyword===ye.ContextualKeyword._interface||pe.state.contextualKeyword===ye.ContextualKeyword._opaque||pe.state.contextualKeyword===ye.ContextualKeyword._enum)}Ze.flowShouldDisallowExportDefaultSpecifier=F0;function B0(){if(z.isContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),C.match.call(void 0,_.TokenType.braceL)?(xs.parseExportSpecifiers.call(void 0),xs.parseExportFrom.call(void 0)):ql(),C.popTypeContext.call(void 0,e)}else if(z.isContextual.call(void 0,ye.ContextualKeyword._opaque)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),Ul(!1),C.popTypeContext.call(void 0,e)}else if(z.isContextual.call(void 0,ye.ContextualKeyword._interface)){let e=C.pushTypeContext.call(void 0,1);C.next.call(void 0),Kl(),C.popTypeContext.call(void 0,e)}else xs.parseStatement.call(void 0,!0)}Ze.flowParseExportDeclaration=B0;function V0(){return C.match.call(void 0,_.TokenType.star)||z.isContextual.call(void 0,ye.ContextualKeyword._type)&&C.lookaheadType.call(void 0)===_.TokenType.star}Ze.flowShouldParseExportStar=V0;function j0(){if(z.eatContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.pushTypeContext.call(void 0,2);xs.baseParseExportStar.call(void 0),C.popTypeContext.call(void 0,e)}else xs.baseParseExportStar.call(void 0)}Ze.flowParseExportStar=j0;function $0(e){if(e&&C.match.call(void 0,_.TokenType.lessThan)&&Ds(),z.isContextual.call(void 0,ye.ContextualKeyword._implements)){let t=C.pushTypeContext.call(void 0,0);C.next.call(void 0),pe.state.tokens[pe.state.tokens.length-1].type=_.TokenType._implements;do No(),C.match.call(void 0,_.TokenType.lessThan)&&Ds();while(C.eat.call(void 0,_.TokenType.comma));C.popTypeContext.call(void 0,t)}}Ze.flowAfterParseClassSuper=$0;function K0(){C.match.call(void 0,_.TokenType.lessThan)&&(Fn(),C.match.call(void 0,_.TokenType.parenL)||z.unexpected.call(void 0))}Ze.flowStartParseObjPropValue=K0;function q0(){let e=C.pushTypeContext.call(void 0,0);C.eat.call(void 0,_.TokenType.question),C.match.call(void 0,_.TokenType.colon)&&xi(),C.popTypeContext.call(void 0,e)}Ze.flowParseAssignableListItemTypes=q0;function U0(){if(C.match.call(void 0,_.TokenType._typeof)||z.isContextual.call(void 0,ye.ContextualKeyword._type)){let e=C.lookaheadTypeAndKeyword.call(void 0);(l0(e)||e.type===_.TokenType.braceL||e.type===_.TokenType.star)&&C.next.call(void 0)}}Ze.flowStartParseImportSpecifiers=U0;function H0(){let e=pe.state.contextualKeyword===ye.ContextualKeyword._type||pe.state.type===_.TokenType._typeof;e?C.next.call(void 0):$e.parseIdentifier.call(void 0),z.isContextual.call(void 0,ye.ContextualKeyword._as)&&!z.isLookaheadContextual.call(void 0,ye.ContextualKeyword._as)?($e.parseIdentifier.call(void 0),e&&!C.match.call(void 0,_.TokenType.name)&&!(pe.state.type&_.TokenType.IS_KEYWORD)||$e.parseIdentifier.call(void 0)):(e&&(C.match.call(void 0,_.TokenType.name)||pe.state.type&_.TokenType.IS_KEYWORD)&&$e.parseIdentifier.call(void 0),z.eatContextual.call(void 0,ye.ContextualKeyword._as)&&$e.parseIdentifier.call(void 0))}Ze.flowParseImportSpecifier=H0;function W0(){if(C.match.call(void 0,_.TokenType.lessThan)){let e=C.pushTypeContext.call(void 0,0);Fn(),C.popTypeContext.call(void 0,e)}}Ze.flowStartParseFunctionParams=W0;function G0(){C.match.call(void 0,_.TokenType.colon)&&xi()}Ze.flowAfterParseVarHead=G0;function z0(){if(C.match.call(void 0,_.TokenType.colon)){let e=pe.state.noAnonFunctionType;pe.state.noAnonFunctionType=!0,xi(),pe.state.noAnonFunctionType=e}}Ze.flowStartParseAsyncArrowFromCallExpression=z0;function X0(e,t){if(C.match.call(void 0,_.TokenType.lessThan)){let s=pe.state.snapshot(),i=$e.baseParseMaybeAssign.call(void 0,e,t);if(pe.state.error)pe.state.restoreFromSnapshot(s),pe.state.type=_.TokenType.typeParameterStart;else return i;let r=C.pushTypeContext.call(void 0,0);if(Fn(),C.popTypeContext.call(void 0,r),i=$e.baseParseMaybeAssign.call(void 0,e,t),i)return!0;z.unexpected.call(void 0)}return $e.baseParseMaybeAssign.call(void 0,e,t)}Ze.flowParseMaybeAssign=X0;function Y0(){if(C.match.call(void 0,_.TokenType.colon)){let e=C.pushTypeContext.call(void 0,0),t=pe.state.snapshot(),s=pe.state.noAnonFunctionType;pe.state.noAnonFunctionType=!0,jl(),pe.state.noAnonFunctionType=s,z.canInsertSemicolon.call(void 0)&&z.unexpected.call(void 0),C.match.call(void 0,_.TokenType.arrow)||z.unexpected.call(void 0),pe.state.error&&pe.state.restoreFromSnapshot(t),C.popTypeContext.call(void 0,e)}return C.eat.call(void 0,_.TokenType.arrow)}Ze.flowParseArrow=Y0;function J0(e,t=!1){if(pe.state.tokens[pe.state.tokens.length-1].contextualKeyword===ye.ContextualKeyword._async&&C.match.call(void 0,_.TokenType.lessThan)){let s=pe.state.snapshot();if(Q0()&&!pe.state.error)return;pe.state.restoreFromSnapshot(s)}$e.baseParseSubscripts.call(void 0,e,t)}Ze.flowParseSubscripts=J0;function Q0(){pe.state.scopeDepth++;let e=pe.state.tokens.length;return xs.parseFunctionParams.call(void 0),$e.parseArrow.call(void 0)?($e.parseArrowExpression.call(void 0,e),!0):!1}function xh(){z.expectContextual.call(void 0,ye.ContextualKeyword._enum),pe.state.tokens[pe.state.tokens.length-1].type=_.TokenType._enum,$e.parseIdentifier.call(void 0),Z0()}function Z0(){z.eatContextual.call(void 0,ye.ContextualKeyword._of)&&C.next.call(void 0),z.expect.call(void 0,_.TokenType.braceL),ev(),z.expect.call(void 0,_.TokenType.braceR)}function ev(){for(;!C.match.call(void 0,_.TokenType.braceR)&&!pe.state.error&&!C.eat.call(void 0,_.TokenType.ellipsis);)tv(),C.match.call(void 0,_.TokenType.braceR)||z.expect.call(void 0,_.TokenType.comma)}function tv(){$e.parseIdentifier.call(void 0),C.eat.call(void 0,_.TokenType.eq)&&C.next.call(void 0)}});var ar=Z(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});var nv=ec(),Mt=nr(),mt=fi(),$=bt(),ve=It(),gs=Gr(),D=we(),gh=Zt(),P=en(),Me=Os(),_s=fo(),ee=fs();function sv(){if(Ql(D.TokenType.eof),P.state.scopes.push(new gs.Scope(0,P.state.tokens.length,!0)),P.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${P.state.scopeDepth}`);return new nv.File(P.state.tokens,P.state.scopes)}vt.parseTopLevel=sv;function _n(e){P.isFlowEnabled&&Mt.flowTryParseStatement.call(void 0)||($.match.call(void 0,D.TokenType.at)&&Jl(),iv(e))}vt.parseStatement=_n;function iv(e){if(P.isTypeScriptEnabled&&mt.tsTryParseStatementContent.call(void 0))return;let t=P.state.type;switch(t){case D.TokenType._break:case D.TokenType._continue:ov();return;case D.TokenType._debugger:av();return;case D.TokenType._do:lv();return;case D.TokenType._for:cv();return;case D.TokenType._function:if($.lookaheadType.call(void 0)===D.TokenType.dot)break;e||ee.unexpected.call(void 0),hv();return;case D.TokenType._class:e||ee.unexpected.call(void 0),Ro(!0);return;case D.TokenType._if:fv();return;case D.TokenType._return:dv();return;case D.TokenType._switch:mv();return;case D.TokenType._throw:Tv();return;case D.TokenType._try:kv();return;case D.TokenType._let:case D.TokenType._const:e||ee.unexpected.call(void 0);case D.TokenType._var:Xl(t!==D.TokenType._var);return;case D.TokenType._while:vv();return;case D.TokenType.braceL:_i();return;case D.TokenType.semi:xv();return;case D.TokenType._export:case D.TokenType._import:{let r=$.lookaheadType.call(void 0);if(r===D.TokenType.parenL||r===D.TokenType.dot)break;$.next.call(void 0),t===D.TokenType._import?Lh():Ph();return}case D.TokenType.name:if(P.state.contextualKeyword===ve.ContextualKeyword._async){let r=P.state.start,a=P.state.snapshot();if($.next.call(void 0),$.match.call(void 0,D.TokenType._function)&&!ee.canInsertSemicolon.call(void 0)){ee.expect.call(void 0,D.TokenType._function),fr(r,!0);return}else P.state.restoreFromSnapshot(a)}else if(P.state.contextualKeyword===ve.ContextualKeyword._using&&!ee.hasFollowingLineBreak.call(void 0)&&$.lookaheadType.call(void 0)===D.TokenType.name){Xl(!0);return}default:break}let s=P.state.tokens.length;Me.parseExpression.call(void 0);let i=null;if(P.state.tokens.length===s+1){let r=P.state.tokens[P.state.tokens.length-1];r.type===D.TokenType.name&&(i=r.contextualKeyword)}if(i==null){ee.semicolon.call(void 0);return}$.eat.call(void 0,D.TokenType.colon)?gv():_v(i)}function Jl(){for(;$.match.call(void 0,D.TokenType.at);)Ch()}vt.parseDecorators=Jl;function Ch(){if($.next.call(void 0),$.eat.call(void 0,D.TokenType.parenL))Me.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR);else{for(Me.parseIdentifier.call(void 0);$.eat.call(void 0,D.TokenType.dot);)Me.parseIdentifier.call(void 0);rv()}}function rv(){P.isTypeScriptEnabled?mt.tsParseMaybeDecoratorArguments.call(void 0):wh()}function wh(){$.eat.call(void 0,D.TokenType.parenL)&&Me.parseCallExpressionArguments.call(void 0)}vt.baseParseMaybeDecoratorArguments=wh;function ov(){$.next.call(void 0),ee.isLineTerminator.call(void 0)||(Me.parseIdentifier.call(void 0),ee.semicolon.call(void 0))}function av(){$.next.call(void 0),ee.semicolon.call(void 0)}function lv(){$.next.call(void 0),_n(!1),ee.expect.call(void 0,D.TokenType._while),Me.parseParenExpression.call(void 0),$.eat.call(void 0,D.TokenType.semi)}function cv(){P.state.scopeDepth++;let e=P.state.tokens.length;pv();let t=P.state.tokens.length;P.state.scopes.push(new gs.Scope(e,t,!1)),P.state.scopeDepth--}function uv(){return!(!ee.isContextual.call(void 0,ve.ContextualKeyword._using)||ee.isLookaheadContextual.call(void 0,ve.ContextualKeyword._of))}function pv(){$.next.call(void 0);let e=!1;if(ee.isContextual.call(void 0,ve.ContextualKeyword._await)&&(e=!0,$.next.call(void 0)),ee.expect.call(void 0,D.TokenType.parenL),$.match.call(void 0,D.TokenType.semi)){e&&ee.unexpected.call(void 0),zl();return}if($.match.call(void 0,D.TokenType._var)||$.match.call(void 0,D.TokenType._let)||$.match.call(void 0,D.TokenType._const)||uv()){if($.next.call(void 0),Sh(!0,P.state.type!==D.TokenType._var),$.match.call(void 0,D.TokenType._in)||ee.isContextual.call(void 0,ve.ContextualKeyword._of)){_h(e);return}zl();return}if(Me.parseExpression.call(void 0,!0),$.match.call(void 0,D.TokenType._in)||ee.isContextual.call(void 0,ve.ContextualKeyword._of)){_h(e);return}e&&ee.unexpected.call(void 0),zl()}function hv(){let e=P.state.start;$.next.call(void 0),fr(e,!0)}function fv(){$.next.call(void 0),Me.parseParenExpression.call(void 0),_n(!1),$.eat.call(void 0,D.TokenType._else)&&_n(!1)}function dv(){$.next.call(void 0),ee.isLineTerminator.call(void 0)||(Me.parseExpression.call(void 0),ee.semicolon.call(void 0))}function mv(){$.next.call(void 0),Me.parseParenExpression.call(void 0),P.state.scopeDepth++;let e=P.state.tokens.length;for(ee.expect.call(void 0,D.TokenType.braceL);!$.match.call(void 0,D.TokenType.braceR)&&!P.state.error;)if($.match.call(void 0,D.TokenType._case)||$.match.call(void 0,D.TokenType._default)){let s=$.match.call(void 0,D.TokenType._case);$.next.call(void 0),s&&Me.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.colon)}else _n(!0);$.next.call(void 0);let t=P.state.tokens.length;P.state.scopes.push(new gs.Scope(e,t,!1)),P.state.scopeDepth--}function Tv(){$.next.call(void 0),Me.parseExpression.call(void 0),ee.semicolon.call(void 0)}function yv(){_s.parseBindingAtom.call(void 0,!0),P.isTypeScriptEnabled&&mt.tsTryParseTypeAnnotation.call(void 0)}function kv(){if($.next.call(void 0),_i(),$.match.call(void 0,D.TokenType._catch)){$.next.call(void 0);let e=null;if($.match.call(void 0,D.TokenType.parenL)&&(P.state.scopeDepth++,e=P.state.tokens.length,ee.expect.call(void 0,D.TokenType.parenL),yv(),ee.expect.call(void 0,D.TokenType.parenR)),_i(),e!=null){let t=P.state.tokens.length;P.state.scopes.push(new gs.Scope(e,t,!1)),P.state.scopeDepth--}}$.eat.call(void 0,D.TokenType._finally)&&_i()}function Xl(e){$.next.call(void 0),Sh(!1,e),ee.semicolon.call(void 0)}vt.parseVarStatement=Xl;function vv(){$.next.call(void 0),Me.parseParenExpression.call(void 0),_n(!1)}function xv(){$.next.call(void 0)}function gv(){_n(!0)}function _v(e){P.isTypeScriptEnabled?mt.tsParseIdentifierStatement.call(void 0,e):P.isFlowEnabled?Mt.flowParseIdentifierStatement.call(void 0,e):ee.semicolon.call(void 0)}function _i(e=!1,t=0){let s=P.state.tokens.length;P.state.scopeDepth++,ee.expect.call(void 0,D.TokenType.braceL),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t),Ql(D.TokenType.braceR),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t);let i=P.state.tokens.length;P.state.scopes.push(new gs.Scope(s,i,e)),P.state.scopeDepth--}vt.parseBlock=_i;function Ql(e){for(;!$.eat.call(void 0,e)&&!P.state.error;)_n(!0)}vt.parseBlockBody=Ql;function zl(){ee.expect.call(void 0,D.TokenType.semi),$.match.call(void 0,D.TokenType.semi)||Me.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.semi),$.match.call(void 0,D.TokenType.parenR)||Me.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR),_n(!1)}function _h(e){e?ee.eatContextual.call(void 0,ve.ContextualKeyword._of):$.next.call(void 0),Me.parseExpression.call(void 0),ee.expect.call(void 0,D.TokenType.parenR),_n(!1)}function Sh(e,t){for(;;){if(bv(t),$.eat.call(void 0,D.TokenType.eq)){let s=P.state.tokens.length-1;Me.parseMaybeAssign.call(void 0,e),P.state.tokens[s].rhsEndIndex=P.state.tokens.length}if(!$.eat.call(void 0,D.TokenType.comma))break}}function bv(e){_s.parseBindingAtom.call(void 0,e),P.isTypeScriptEnabled?mt.tsAfterParseVarHead.call(void 0):P.isFlowEnabled&&Mt.flowAfterParseVarHead.call(void 0)}function fr(e,t,s=!1){$.match.call(void 0,D.TokenType.star)&&$.next.call(void 0),t&&!s&&!$.match.call(void 0,D.TokenType.name)&&!$.match.call(void 0,D.TokenType._yield)&&ee.unexpected.call(void 0);let i=null;$.match.call(void 0,D.TokenType.name)&&(t||(i=P.state.tokens.length,P.state.scopeDepth++),_s.parseBindingIdentifier.call(void 0,!1));let r=P.state.tokens.length;P.state.scopeDepth++,Ih(),Me.parseFunctionBodyAndFinish.call(void 0,e);let a=P.state.tokens.length;P.state.scopes.push(new gs.Scope(r,a,!0)),P.state.scopeDepth--,i!==null&&(P.state.scopes.push(new gs.Scope(i,a,!0)),P.state.scopeDepth--)}vt.parseFunction=fr;function Ih(e=!1,t=0){P.isTypeScriptEnabled?mt.tsStartParseFunctionParams.call(void 0):P.isFlowEnabled&&Mt.flowStartParseFunctionParams.call(void 0),ee.expect.call(void 0,D.TokenType.parenL),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t),_s.parseBindingList.call(void 0,D.TokenType.parenR,!1,!1,e,t),t&&(P.state.tokens[P.state.tokens.length-1].contextId=t)}vt.parseFunctionParams=Ih;function Ro(e,t=!1){let s=P.getNextContextId.call(void 0);$.next.call(void 0),P.state.tokens[P.state.tokens.length-1].contextId=s,P.state.tokens[P.state.tokens.length-1].isExpression=!e;let i=null;e||(i=P.state.tokens.length,P.state.scopeDepth++),Iv(e,t),Ev();let r=P.state.tokens.length;if(Cv(s),!P.state.error&&(P.state.tokens[r].contextId=s,P.state.tokens[P.state.tokens.length-1].contextId=s,i!==null)){let a=P.state.tokens.length;P.state.scopes.push(new gs.Scope(i,a,!1)),P.state.scopeDepth--}}vt.parseClass=Ro;function Eh(){return $.match.call(void 0,D.TokenType.eq)||$.match.call(void 0,D.TokenType.semi)||$.match.call(void 0,D.TokenType.braceR)||$.match.call(void 0,D.TokenType.bang)||$.match.call(void 0,D.TokenType.colon)}function Ah(){return $.match.call(void 0,D.TokenType.parenL)||$.match.call(void 0,D.TokenType.lessThan)}function Cv(e){for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if($.eat.call(void 0,D.TokenType.semi))continue;if($.match.call(void 0,D.TokenType.at)){Ch();continue}let t=P.state.start;wv(t,e)}}function wv(e,t){P.isTypeScriptEnabled&&mt.tsParseModifiers.call(void 0,[ve.ContextualKeyword._declare,ve.ContextualKeyword._public,ve.ContextualKeyword._protected,ve.ContextualKeyword._private,ve.ContextualKeyword._override]);let s=!1;if($.match.call(void 0,D.TokenType.name)&&P.state.contextualKeyword===ve.ContextualKeyword._static){if(Me.parseIdentifier.call(void 0),Ah()){pr(e,!1);return}else if(Eh()){hr();return}if(P.state.tokens[P.state.tokens.length-1].type=D.TokenType._static,s=!0,$.match.call(void 0,D.TokenType.braceL)){P.state.tokens[P.state.tokens.length-1].contextId=t,_i();return}}Sv(e,s,t)}function Sv(e,t,s){if(P.isTypeScriptEnabled&&mt.tsTryParseClassMemberWithIsStatic.call(void 0,t))return;if($.eat.call(void 0,D.TokenType.star)){gi(s),pr(e,!1);return}gi(s);let i=!1,r=P.state.tokens[P.state.tokens.length-1];r.contextualKeyword===ve.ContextualKeyword._constructor&&(i=!0),Yl(),Ah()?pr(e,i):Eh()?hr():r.contextualKeyword===ve.ContextualKeyword._async&&!ee.isLineTerminator.call(void 0)?(P.state.tokens[P.state.tokens.length-1].type=D.TokenType._async,$.match.call(void 0,D.TokenType.star)&&$.next.call(void 0),gi(s),Yl(),pr(e,!1)):(r.contextualKeyword===ve.ContextualKeyword._get||r.contextualKeyword===ve.ContextualKeyword._set)&&!(ee.isLineTerminator.call(void 0)&&$.match.call(void 0,D.TokenType.star))?(r.contextualKeyword===ve.ContextualKeyword._get?P.state.tokens[P.state.tokens.length-1].type=D.TokenType._get:P.state.tokens[P.state.tokens.length-1].type=D.TokenType._set,gi(s),pr(e,!1)):r.contextualKeyword===ve.ContextualKeyword._accessor&&!ee.isLineTerminator.call(void 0)?(gi(s),hr()):ee.isLineTerminator.call(void 0)?hr():ee.unexpected.call(void 0)}function pr(e,t){P.isTypeScriptEnabled?mt.tsTryParseTypeParameters.call(void 0):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.lessThan)&&Mt.flowParseTypeParameterDeclaration.call(void 0),Me.parseMethod.call(void 0,e,t)}function gi(e){Me.parsePropertyName.call(void 0,e)}vt.parseClassPropertyName=gi;function Yl(){if(P.isTypeScriptEnabled){let e=$.pushTypeContext.call(void 0,0);$.eat.call(void 0,D.TokenType.question),$.popTypeContext.call(void 0,e)}}vt.parsePostMemberNameModifiers=Yl;function hr(){if(P.isTypeScriptEnabled?($.eatTypeToken.call(void 0,D.TokenType.bang),mt.tsTryParseTypeAnnotation.call(void 0)):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.colon)&&Mt.flowParseTypeAnnotation.call(void 0),$.match.call(void 0,D.TokenType.eq)){let e=P.state.tokens.length;$.next.call(void 0),Me.parseMaybeAssign.call(void 0),P.state.tokens[e].rhsEndIndex=P.state.tokens.length}ee.semicolon.call(void 0)}vt.parseClassProperty=hr;function Iv(e,t=!1){P.isTypeScriptEnabled&&(!e||t)&&ee.isContextual.call(void 0,ve.ContextualKeyword._implements)||($.match.call(void 0,D.TokenType.name)&&_s.parseBindingIdentifier.call(void 0,!0),P.isTypeScriptEnabled?mt.tsTryParseTypeParameters.call(void 0):P.isFlowEnabled&&$.match.call(void 0,D.TokenType.lessThan)&&Mt.flowParseTypeParameterDeclaration.call(void 0))}function Ev(){let e=!1;$.eat.call(void 0,D.TokenType._extends)?(Me.parseExprSubscripts.call(void 0),e=!0):e=!1,P.isTypeScriptEnabled?mt.tsAfterParseClassSuper.call(void 0,e):P.isFlowEnabled&&Mt.flowAfterParseClassSuper.call(void 0,e)}function Ph(){let e=P.state.tokens.length-1;P.isTypeScriptEnabled&&mt.tsTryParseExport.call(void 0)||(Rv()?Lv():Nv()?(Me.parseIdentifier.call(void 0),$.match.call(void 0,D.TokenType.comma)&&$.lookaheadType.call(void 0)===D.TokenType.star?(ee.expect.call(void 0,D.TokenType.comma),ee.expect.call(void 0,D.TokenType.star),ee.expectContextual.call(void 0,ve.ContextualKeyword._as),Me.parseIdentifier.call(void 0)):Nh(),dr()):$.eat.call(void 0,D.TokenType._default)?Av():Dv()?Pv():(Zl(),dr()),P.state.tokens[e].rhsEndIndex=P.state.tokens.length)}vt.parseExport=Ph;function Av(){if(P.isTypeScriptEnabled&&mt.tsTryParseExportDefaultExpression.call(void 0)||P.isFlowEnabled&&Mt.flowTryParseExportDefaultExpression.call(void 0))return;let e=P.state.start;$.eat.call(void 0,D.TokenType._function)?fr(e,!0,!0):ee.isContextual.call(void 0,ve.ContextualKeyword._async)&&$.lookaheadType.call(void 0)===D.TokenType._function?(ee.eatContextual.call(void 0,ve.ContextualKeyword._async),$.eat.call(void 0,D.TokenType._function),fr(e,!0,!0)):$.match.call(void 0,D.TokenType._class)?Ro(!0,!0):$.match.call(void 0,D.TokenType.at)?(Jl(),Ro(!0,!0)):(Me.parseMaybeAssign.call(void 0),ee.semicolon.call(void 0))}function Pv(){P.isTypeScriptEnabled?mt.tsParseExportDeclaration.call(void 0):P.isFlowEnabled?Mt.flowParseExportDeclaration.call(void 0):_n(!0)}function Nv(){if(P.isTypeScriptEnabled&&mt.tsIsDeclarationStart.call(void 0))return!1;if(P.isFlowEnabled&&Mt.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if($.match.call(void 0,D.TokenType.name))return P.state.contextualKeyword!==ve.ContextualKeyword._async;if(!$.match.call(void 0,D.TokenType._default))return!1;let e=$.nextTokenStart.call(void 0),t=$.lookaheadTypeAndKeyword.call(void 0),s=t.type===D.TokenType.name&&t.contextualKeyword===ve.ContextualKeyword._from;if(t.type===D.TokenType.comma)return!0;if(s){let i=P.input.charCodeAt($.nextTokenStartSince.call(void 0,e+4));return i===gh.charCodes.quotationMark||i===gh.charCodes.apostrophe}return!1}function Nh(){$.eat.call(void 0,D.TokenType.comma)&&Zl()}function dr(){ee.eatContextual.call(void 0,ve.ContextualKeyword._from)&&(Me.parseExprAtom.call(void 0),Oh()),ee.semicolon.call(void 0)}vt.parseExportFrom=dr;function Rv(){return P.isFlowEnabled?Mt.flowShouldParseExportStar.call(void 0):$.match.call(void 0,D.TokenType.star)}function Lv(){P.isFlowEnabled?Mt.flowParseExportStar.call(void 0):Rh()}function Rh(){ee.expect.call(void 0,D.TokenType.star),ee.isContextual.call(void 0,ve.ContextualKeyword._as)?Ov():dr()}vt.baseParseExportStar=Rh;function Ov(){$.next.call(void 0),P.state.tokens[P.state.tokens.length-1].type=D.TokenType._as,Me.parseIdentifier.call(void 0),Nh(),dr()}function Dv(){return P.isTypeScriptEnabled&&mt.tsIsDeclarationStart.call(void 0)||P.isFlowEnabled&&Mt.flowShouldParseExportDeclaration.call(void 0)||P.state.type===D.TokenType._var||P.state.type===D.TokenType._const||P.state.type===D.TokenType._let||P.state.type===D.TokenType._function||P.state.type===D.TokenType._class||ee.isContextual.call(void 0,ve.ContextualKeyword._async)||$.match.call(void 0,D.TokenType.at)}function Zl(){let e=!0;for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if(e)e=!1;else if(ee.expect.call(void 0,D.TokenType.comma),$.eat.call(void 0,D.TokenType.braceR))break;Mv()}}vt.parseExportSpecifiers=Zl;function Mv(){if(P.isTypeScriptEnabled){mt.tsParseExportSpecifier.call(void 0);return}Me.parseIdentifier.call(void 0),P.state.tokens[P.state.tokens.length-1].identifierRole=$.IdentifierRole.ExportAccess,ee.eatContextual.call(void 0,ve.ContextualKeyword._as)&&Me.parseIdentifier.call(void 0)}function Fv(){let e=P.state.snapshot();return ee.expectContextual.call(void 0,ve.ContextualKeyword._module),ee.eatContextual.call(void 0,ve.ContextualKeyword._from)?ee.isContextual.call(void 0,ve.ContextualKeyword._from)?(P.state.restoreFromSnapshot(e),!0):(P.state.restoreFromSnapshot(e),!1):$.match.call(void 0,D.TokenType.comma)?(P.state.restoreFromSnapshot(e),!1):(P.state.restoreFromSnapshot(e),!0)}function Bv(){ee.isContextual.call(void 0,ve.ContextualKeyword._module)&&Fv()&&$.next.call(void 0)}function Lh(){if(P.isTypeScriptEnabled&&$.match.call(void 0,D.TokenType.name)&&$.lookaheadType.call(void 0)===D.TokenType.eq){mt.tsParseImportEqualsDeclaration.call(void 0);return}if(P.isTypeScriptEnabled&&ee.isContextual.call(void 0,ve.ContextualKeyword._type)){let e=$.lookaheadTypeAndKeyword.call(void 0);if(e.type===D.TokenType.name&&e.contextualKeyword!==ve.ContextualKeyword._from){if(ee.expectContextual.call(void 0,ve.ContextualKeyword._type),$.lookaheadType.call(void 0)===D.TokenType.eq){mt.tsParseImportEqualsDeclaration.call(void 0);return}}else(e.type===D.TokenType.star||e.type===D.TokenType.braceL)&&ee.expectContextual.call(void 0,ve.ContextualKeyword._type)}$.match.call(void 0,D.TokenType.string)||(Bv(),jv(),ee.expectContextual.call(void 0,ve.ContextualKeyword._from)),Me.parseExprAtom.call(void 0),Oh(),ee.semicolon.call(void 0)}vt.parseImport=Lh;function Vv(){return $.match.call(void 0,D.TokenType.name)}function bh(){_s.parseImportedIdentifier.call(void 0)}function jv(){P.isFlowEnabled&&Mt.flowStartParseImportSpecifiers.call(void 0);let e=!0;if(!(Vv()&&(bh(),!$.eat.call(void 0,D.TokenType.comma)))){if($.match.call(void 0,D.TokenType.star)){$.next.call(void 0),ee.expectContextual.call(void 0,ve.ContextualKeyword._as),bh();return}for(ee.expect.call(void 0,D.TokenType.braceL);!$.eat.call(void 0,D.TokenType.braceR)&&!P.state.error;){if(e)e=!1;else if($.eat.call(void 0,D.TokenType.colon)&&ee.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),ee.expect.call(void 0,D.TokenType.comma),$.eat.call(void 0,D.TokenType.braceR))break;$v()}}}function $v(){if(P.isTypeScriptEnabled){mt.tsParseImportSpecifier.call(void 0);return}if(P.isFlowEnabled){Mt.flowParseImportSpecifier.call(void 0);return}_s.parseImportedIdentifier.call(void 0),ee.isContextual.call(void 0,ve.ContextualKeyword._as)&&(P.state.tokens[P.state.tokens.length-1].identifierRole=$.IdentifierRole.ImportAccess,$.next.call(void 0),_s.parseImportedIdentifier.call(void 0))}function Oh(){ee.isContextual.call(void 0,ve.ContextualKeyword._assert)&&!ee.hasPrecedingLineBreak.call(void 0)&&($.next.call(void 0),Me.parseObj.call(void 0,!1,!1))}});var Fh=Z(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});var Dh=bt(),Mh=Zt(),tc=en(),Kv=ar();function qv(){return tc.state.pos===0&&tc.input.charCodeAt(0)===Mh.charCodes.numberSign&&tc.input.charCodeAt(1)===Mh.charCodes.exclamationMark&&Dh.skipLineComment.call(void 0,2),Dh.nextToken.call(void 0),Kv.parseTopLevel.call(void 0)}nc.parseFile=qv});var ec=Z(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var Lo=en(),Uv=Fh(),sc=class{constructor(t,s){this.tokens=t,this.scopes=s}};Oo.File=sc;function Hv(e,t,s,i){if(i&&s)throw new Error("Cannot combine flow and typescript plugins.");Lo.initParser.call(void 0,e,t,s,i);let r=Uv.parseFile.call(void 0);if(Lo.state.error)throw Lo.augmentError.call(void 0,Lo.state.error);return r}Oo.parse=Hv});var Bh=Z(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});var Wv=It();function Gv(e){let t=e.currentIndex(),s=0,i=e.currentToken();do{let r=e.tokens[t];if(r.isOptionalChainStart&&s++,r.isOptionalChainEnd&&s--,s+=r.numNullishCoalesceStarts,s-=r.numNullishCoalesceEnds,r.contextualKeyword===Wv.ContextualKeyword._await&&r.identifierRole==null&&r.scopeDepth===i.scopeDepth)return!0;t+=1}while(s>0&&t<e.tokens.length);return!1}ic.default=Gv});var Vh=Z(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});function zv(e){return e&&e.__esModule?e:{default:e}}var Do=we(),Xv=Bh(),Yv=zv(Xv),rc=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,s,i,r,a){this.code=t,this.tokens=s,this.isFlowEnabled=i,this.disableESTransforms=r,this.helperManager=a,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){let s=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,s}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,s){return this.matches1AtIndex(t,Do.TokenType.name)&&this.tokens[t].contextualKeyword===s}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,s){return this.tokens[t].type===s}matches2AtIndex(t,s,i){return this.tokens[t].type===s&&this.tokens[t+1].type===i}matches3AtIndex(t,s,i,r){return this.tokens[t].type===s&&this.tokens[t+1].type===i&&this.tokens[t+2].type===r}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,s){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s}matches3(t,s,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i}matches4(t,s,i,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===r}matches5(t,s,i,r,a){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===r&&this.tokens[this.tokenIndex+4].type===a}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,s){return this.matches1(t)&&this.currentToken().contextId===s}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(Do.TokenType.braceL))t++;else if(this.matches1(Do.TokenType.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=Yv.default.call(void 0,this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let s=0;s<t.numNullishCoalesceStarts;s++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===Do.TokenType._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let s=0;s<t.numNullishCoalesceEnds;s++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}};oc.default=rc});var Kh=Z(lc=>{"use strict";Object.defineProperty(lc,"__esModule",{value:!0});var jh=It(),Re=we();function Jv(e,t,s,i){let r=t.snapshot(),a=Qv(t),u=[],d=[],v=[],g=null,O=[],p=[],f=t.currentToken().contextId;if(f==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(Re.TokenType.braceR,f);)if(t.matchesContextual(jh.ContextualKeyword._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:u,constructorInsertPos:g}=$h(t));else if(t.matches1(Re.TokenType.semi))i||p.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let T=t.currentIndex(),x=!1,w=!1,S=!1;for(;Mo(t.currentToken());)t.matches1(Re.TokenType._static)&&(x=!0),t.matches1(Re.TokenType.hash)&&(w=!0),(t.matches1(Re.TokenType._declare)||t.matches1(Re.TokenType._abstract))&&(S=!0),t.nextToken();if(x&&t.matches1(Re.TokenType.braceL)){ac(t,f);continue}if(w){ac(t,f);continue}if(t.matchesContextual(jh.ContextualKeyword._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:u,constructorInsertPos:g}=$h(t));continue}let A=t.currentIndex();if(Zv(t),t.matches1(Re.TokenType.lessThan)||t.matches1(Re.TokenType.parenL)){ac(t,f);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(Re.TokenType.eq)){let q=t.currentIndex(),M=t.currentToken().rhsEndIndex;if(M==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<M;)e.processToken();let c;x?(c=s.claimFreeName("__initStatic"),v.push(c)):(c=s.claimFreeName("__init"),d.push(c)),O.push({initializerName:c,equalsIndex:q,start:A,end:t.currentIndex()})}else(!i||S)&&p.push({start:T,end:t.currentIndex()})}return t.restoreToSnapshot(r),i?{headerInfo:a,constructorInitializerStatements:u,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:g,fields:[],rangesToRemove:p}:{headerInfo:a,constructorInitializerStatements:u,instanceInitializerNames:d,staticInitializerNames:v,constructorInsertPos:g,fields:O,rangesToRemove:p}}lc.default=Jv;function ac(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;Mo(e.tokenAtRelativeIndex(-1));)e.previousToken()}function Qv(e){let t=e.currentToken(),s=t.contextId;if(s==null)throw new Error("Expected context ID on class token.");let i=t.isExpression;if(i==null)throw new Error("Expected isExpression on class token.");let r=null,a=!1;for(e.nextToken(),e.matches1(Re.TokenType.name)&&(r=e.identifierName());!e.matchesContextIdAndLabel(Re.TokenType.braceL,s);)e.matches1(Re.TokenType._extends)&&!e.currentToken().isType&&(a=!0),e.nextToken();return{isExpression:i,className:r,hasSuperclass:a}}function $h(e){let t=[];e.nextToken();let s=e.currentToken().contextId;if(s==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(Re.TokenType.parenR,s);)if(e.currentToken().contextId===s){if(e.nextToken(),Mo(e.currentToken())){for(e.nextToken();Mo(e.currentToken());)e.nextToken();let a=e.currentToken();if(a.type!==Re.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let u=e.identifierNameForToken(a);t.push(`this.${u} = ${u}`)}}else e.nextToken();e.nextToken();let i=e.currentIndex(),r=!1;for(;!e.matchesContextIdAndLabel(Re.TokenType.braceR,s);){if(!r&&e.matches2(Re.TokenType._super,Re.TokenType.parenL)){e.nextToken();let a=e.currentToken().contextId;if(a==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(Re.TokenType.parenR,a);)e.nextToken();i=e.currentIndex(),r=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:i}}function Mo(e){return[Re.TokenType._async,Re.TokenType._get,Re.TokenType._set,Re.TokenType.plus,Re.TokenType.minus,Re.TokenType._readonly,Re.TokenType._static,Re.TokenType._public,Re.TokenType._private,Re.TokenType._protected,Re.TokenType._override,Re.TokenType._abstract,Re.TokenType.star,Re.TokenType._declare,Re.TokenType.hash].includes(e.type)}function Zv(e){if(e.matches1(Re.TokenType.bracketL)){let s=e.currentToken().contextId;if(s==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(Re.TokenType.bracketR,s);)e.nextToken();e.nextToken()}else e.nextToken()}});var uc=Z(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});var qh=we();function ex(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(qh.TokenType.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(qh.TokenType.dot);)e.removeToken(),e.removeToken()}cc.default=ex});var pc=Z(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});var tx=bt(),nx=we(),sx={typeDeclarations:new Set,valueDeclarations:new Set};Fo.EMPTY_DECLARATION_INFO=sx;function ix(e){let t=new Set,s=new Set;for(let i=0;i<e.tokens.length;i++){let r=e.tokens[i];r.type===nx.TokenType.name&&tx.isTopLevelDeclaration.call(void 0,r)&&(r.isType?t.add(e.identifierNameForToken(r)):s.add(e.identifierNameForToken(r)))}return{typeDeclarations:t,valueDeclarations:s}}Fo.default=ix});var fc=Z(hc=>{"use strict";Object.defineProperty(hc,"__esModule",{value:!0});var rx=It(),Uh=we();function ox(e){e.matches2(Uh.TokenType.name,Uh.TokenType.braceL)&&e.matchesContextual(rx.ContextualKeyword._assert)&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}hc.removeMaybeImportAssertion=ox});var mc=Z(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});var Hh=we();function ax(e,t,s){if(!e)return!1;let i=t.currentToken();if(i.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let r=i.rhsEndIndex-t.currentIndex();if(r!==3&&!(r===4&&t.matches1AtIndex(i.rhsEndIndex-1,Hh.TokenType.semi)))return!1;let a=t.tokenAtRelativeIndex(2);if(a.type!==Hh.TokenType.name)return!1;let u=t.identifierNameForToken(a);return s.typeDeclarations.has(u)&&!s.valueDeclarations.has(u)}dc.default=ax});var Gh=Z(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});function mr(e){return e&&e.__esModule?e:{default:e}}var Bo=bt(),Ms=It(),N=we(),lx=uc(),cx=mr(lx),Wh=pc(),ux=mr(Wh),px=Ji(),hx=mr(px),Vo=fc(),fx=mc(),dx=mr(fx),mx=hn(),Tx=mr(mx),Tc=class e extends Tx.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,s,i,r,a,u,d,v,g,O){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.nameManager=r,this.helperManager=a,this.reactHotLoaderTransformer=u,this.enableLegacyBabel5ModuleInterop=d,this.enableLegacyTypeScriptModuleInterop=v,this.isTypeScriptTransformEnabled=g,this.preserveDynamicImport=O,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=g?ux.default.call(void 0,s):Wh.EMPTY_DECLARATION_INFO}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?` module.exports = exports.default; -`:""}process(){return this.tokens.matches3(N.TokenType._import,N.TokenType.name,N.TokenType.eq)?this.processImportEquals():this.tokens.matches1(N.TokenType._import)?(this.processImport(),!0):this.tokens.matches2(N.TokenType._export,N.TokenType.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(N.TokenType._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(N.TokenType.name,N.TokenType.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(N.TokenType.name)||this.tokens.matches1(N.TokenType.jsxName)?this.processIdentifier():this.tokens.matches1(N.TokenType.eq)?this.processAssignment():this.tokens.matches1(N.TokenType.assign)?this.processComplexAssignment():this.tokens.matches1(N.TokenType.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.isTypeName(t)?Xv.default.call(void 0,this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(N.TokenType._import,N.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let s=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${s}require`);let i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(N.TokenType.parenR,i);)this.rootTransformer.processToken();this.tokens.replaceToken(s?")))":"))");return}if(this.removeImportAndDetectIfType())this.tokens.removeToken();else{let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),this.tokens.appendCode(this.importProcessor.claimImportCode(s))}Oo.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}removeImportAndDetectIfType(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(Ls.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,N.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Ls.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(N.TokenType.name)||this.tokens.matches1(N.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(N.TokenType.string))return!1;let t=!1;for(;!this.tokens.matches1(N.TokenType.string);)(!t&&this.tokens.matches1(N.TokenType.braceL)||this.tokens.matches1(N.TokenType.comma))&&(this.tokens.removeToken(),(this.tokens.matches2(N.TokenType.name,N.TokenType.comma)||this.tokens.matches2(N.TokenType.name,N.TokenType.braceR)||this.tokens.matches4(N.TokenType.name,N.TokenType.name,N.TokenType.name,N.TokenType.comma)||this.tokens.matches4(N.TokenType.name,N.TokenType.name,N.TokenType.name,N.TokenType.braceR))&&(t=!0)),this.tokens.removeToken();return!t}removeRemainingImport(){for(;!this.tokens.matches1(N.TokenType.string);)this.tokens.removeToken()}processIdentifier(){let t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===Lo.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==Lo.IdentifierRole.Access)return!1;let s=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!s)return!1;let i=this.tokens.currentIndex()+1;for(;i<this.tokens.tokens.length&&this.tokens.tokens[i].type===N.TokenType.parenR;)i++;return this.tokens.tokens[i].type===N.TokenType.parenL?this.tokens.tokenAtRelativeIndex(1).type===N.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==N.TokenType._new?(this.tokens.replaceToken(`${s}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR)):this.tokens.replaceToken(`(0, ${s})`):this.tokens.replaceToken(s),!0}processObjectShorthand(){let t=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(t);return s?(this.tokens.replaceToken(`${t}: ${s}`),!0):!1}processExport(){if(this.tokens.matches2(N.TokenType._export,N.TokenType._enum)||this.tokens.matches3(N.TokenType._export,N.TokenType._const,N.TokenType._enum))return!1;if(this.tokens.matches2(N.TokenType._export,N.TokenType._default))return this.hadDefaultExport=!0,this.tokens.matches3(N.TokenType._export,N.TokenType._default,N.TokenType._enum)?!1:(this.processExportDefault(),!0);if(this.hadNamedExport=!0,this.tokens.matches2(N.TokenType._export,N.TokenType._var)||this.tokens.matches2(N.TokenType._export,N.TokenType._let)||this.tokens.matches2(N.TokenType._export,N.TokenType._const))return this.processExportVar(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType._function)||this.tokens.matches3(N.TokenType._export,N.TokenType.name,N.TokenType._function))return this.processExportFunction(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType._class)||this.tokens.matches3(N.TokenType._export,N.TokenType._abstract,N.TokenType._class)||this.tokens.matches2(N.TokenType._export,N.TokenType.at))return this.processExportClass(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.star))return this.processExportStar(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Ls.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(N.TokenType.braceL)){for(;!this.tokens.matches1(N.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(N.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Ls.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,N.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Oo.removeMaybeImportAssertion.call(void 0,this.tokens)),!0}else throw new Error("Unrecognized export syntax.")}processAssignment(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t-1];if(s.isType||s.type!==N.TokenType.name||s.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,N.TokenType.dot)||t>=2&&[N.TokenType._var,N.TokenType._let,N.TokenType._const].includes(this.tokens.tokens[t-2].type))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return i?(this.tokens.copyToken(),this.tokens.appendCode(` ${i} =`),!0):!1}processComplexAssignment(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t-1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,N.TokenType.dot))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return i?(this.tokens.appendCode(` = ${i}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t+1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,N.TokenType.dot)||this.tokens.matches1AtIndex(t+2,N.TokenType.bracketL)||this.tokens.matches1AtIndex(t+2,N.TokenType.parenL)))return!1;let i=this.tokens.identifierNameForToken(s),r=this.importProcessor.resolveExportBinding(i);return r?(this.tokens.appendCode(`${r} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t],i=this.tokens.tokens[t+1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,N.TokenType.dot))return!1;let r=this.tokens.identifierNameForToken(s),a=this.importProcessor.resolveExportBinding(r);if(!a)return!1;let u=this.tokens.rawCodeForToken(i),d=this.importProcessor.getIdentifierReplacement(r)||r;if(u==="++")this.tokens.replaceToken(`(${d} = ${a} = ${d} + 1, ${d} - 1)`);else if(u==="--")this.tokens.replaceToken(`(${d} = ${a} = ${d} - 1, ${d} + 1)`);else throw new Error(`Unexpected operator: ${u}`);return this.tokens.removeToken(),!0}processExportDefault(){if(this.tokens.matches4(N.TokenType._export,N.TokenType._default,N.TokenType._function,N.TokenType.name)||this.tokens.matches5(N.TokenType._export,N.TokenType._default,N.TokenType.name,N.TokenType._function,N.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Ls.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${t};`)}else if(this.tokens.matches4(N.TokenType._export,N.TokenType._default,N.TokenType._class,N.TokenType.name)||this.tokens.matches5(N.TokenType._export,N.TokenType._default,N.TokenType._abstract,N.TokenType._class,N.TokenType.name)||this.tokens.matches3(N.TokenType._export,N.TokenType._default,N.TokenType.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(N.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${t};`)}else if(ex.default.call(void 0,this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let t=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${t}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${t} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(t)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =")}copyDecorators(){for(;this.tokens.matches1(N.TokenType.at);)if(this.tokens.copyToken(),this.tokens.matches1(N.TokenType.parenL))this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR);else{for(this.tokens.copyExpectedToken(N.TokenType.name);this.tokens.matches1(N.TokenType.dot);)this.tokens.copyExpectedToken(N.TokenType.dot),this.tokens.copyExpectedToken(N.TokenType.name);this.tokens.matches1(N.TokenType.parenL)&&(this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,N.TokenType.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,N.TokenType.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let t=this.tokens.identifierName();for(;!this.tokens.matches1(N.TokenType.eq);)this.rootTransformer.processToken();let s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.matches1(N.TokenType.braceL);t&&this.tokens.appendCode("(");let s=0;for(;;)if(this.tokens.matches1(N.TokenType.braceL)||this.tokens.matches1(N.TokenType.dollarBraceL)||this.tokens.matches1(N.TokenType.bracketL))s++,this.tokens.copyToken();else if(this.tokens.matches1(N.TokenType.braceR)||this.tokens.matches1(N.TokenType.bracketR))s--,this.tokens.copyToken();else{if(s===0&&!this.tokens.matches1(N.TokenType.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(N.TokenType.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken()}else{let i=this.tokens.currentToken();if(Lo.isDeclaration.call(void 0,i)){let r=this.tokens.identifierName(),a=this.importProcessor.getIdentifierReplacement(r);if(a===null)throw new Error(`Expected a replacement for ${r} in \`export var\` syntax.`);Lo.isObjectShorthandDeclaration.call(void 0,i)&&(a=`${r}: ${a}`),this.tokens.replaceToken(a)}else this.rootTransformer.processToken()}}if(t){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(N.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(N.TokenType.name,N.TokenType._function)){if(!this.tokens.matchesContextual(Ls.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(N.TokenType.star)&&this.tokens.copyToken(),!this.tokens.matches1(N.TokenType.name))throw new Error("Expected identifier for exported function name.");let t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(N.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(N.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=[];for(;;){if(this.tokens.matches1(N.TokenType.braceR)){this.tokens.removeToken();break}let s=Qv.default.call(void 0,this.tokens);for(;this.tokens.currentIndex()<s.endIndex;)this.tokens.removeToken();if(!s.isType&&!this.shouldElideExportedIdentifier(s.leftName)){let i=s.leftName,r=s.rightName,a=this.importProcessor.getIdentifierReplacement(i);t.push(`exports.${r} = ${a||i};`)}if(this.tokens.matches1(N.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(N.TokenType.comma,N.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(N.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(Ls.ContextualKeyword._from)){this.tokens.removeToken();let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),Oo.removeMaybeImportAssertion.call(void 0,this.tokens)}else this.tokens.appendCode(t.join(" "));this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(N.TokenType.string);)this.tokens.removeToken();let t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Oo.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.declarationInfo.valueDeclarations.has(t)}};ac.default=oc});var Vh=Z(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});function pr(e){return e&&e.__esModule?e:{default:e}}var Jn=St(),se=Ce(),sx=ec(),ix=pr(sx),Bh=tc(),rx=pr(Bh),ox=Wi(),Mh=pr(ox),ax=Fa(),Fh=sc(),lx=rc(),cx=pr(lx),ux=un(),px=pr(ux),lc=class extends px.default{constructor(t,s,i,r,a,u){super(),this.tokens=t,this.nameManager=s,this.helperManager=i,this.reactHotLoaderTransformer=r,this.isTypeScriptTransformEnabled=a,this.nonTypeIdentifiers=a?ax.getNonTypeIdentifiers.call(void 0,t,u):new Set,this.declarationInfo=a?rx.default.call(void 0,t):Bh.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=!!u.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(se.TokenType._import,se.TokenType.name,se.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(se.TokenType._import,se.TokenType.name,se.TokenType.name,se.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Jn.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(se.TokenType._export,se.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(se.TokenType._export,se.TokenType._import,se.TokenType.name,se.TokenType.name,se.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Jn.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(se.TokenType._import))return this.processImport();if(this.tokens.matches2(se.TokenType._export,se.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(se.TokenType._export,se.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(se.TokenType._export,se.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Jn.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(se.TokenType.braceL)){for(;!this.tokens.matches1(se.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(se.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Jn.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,se.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Fh.removeMaybeImportAssertion.call(void 0,this.tokens)),!0}return!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.isTypeName(t)?ix.default.call(void 0,this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(se.TokenType._import,se.TokenType.parenL))return!1;let t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(se.TokenType.string);)this.tokens.removeToken();this.tokens.removeToken(),Fh.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(se.TokenType.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(se.TokenType._import),this.tokens.matchesContextual(Jn.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,se.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Jn.ContextualKeyword._from))return!0;if(this.tokens.matches1(se.TokenType.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(Jn.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Jn.ContextualKeyword._from)&&this.tokens.copyToken();let t=!1,s=!1;if(this.tokens.matches1(se.TokenType.name)&&(this.isTypeName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(se.TokenType.comma)&&(s=!0,this.tokens.removeToken()))),this.tokens.matches1(se.TokenType.star))this.isTypeName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(s&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(se.TokenType.star),this.tokens.copyExpectedToken(se.TokenType.name),this.tokens.copyExpectedToken(se.TokenType.name));else if(this.tokens.matches1(se.TokenType.braceL)){for(s&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(se.TokenType.braceR);){let i=Mh.default.call(void 0,this.tokens);if(i.isType||this.isTypeName(i.rightName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(se.TokenType.braceR)}return!t}isTypeName(t){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(cx.default.call(void 0,this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(se.TokenType._export,se.TokenType._default,se.TokenType._function,se.TokenType.name)||this.tokens.matches5(se.TokenType._export,se.TokenType._default,se.TokenType.name,se.TokenType._function,se.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Jn.ContextualKeyword._async)||this.tokens.matches4(se.TokenType._export,se.TokenType._default,se.TokenType._class,se.TokenType.name)||this.tokens.matches5(se.TokenType._export,se.TokenType._default,se.TokenType._abstract,se.TokenType._class,se.TokenType.name))&&this.reactHotLoaderTransformer){let s=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${s}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;for(this.tokens.copyExpectedToken(se.TokenType._export),this.tokens.copyExpectedToken(se.TokenType.braceL);!this.tokens.matches1(se.TokenType.braceR);){let t=Mh.default.call(void 0,this.tokens);if(t.isType||this.shouldElideExportedName(t.leftName)){for(;this.tokens.currentIndex()<t.endIndex;)this.tokens.removeToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()}else{for(;this.tokens.currentIndex()<t.endIndex;)this.tokens.copyToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(se.TokenType.braceR),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}};cc.default=lc});var $h=Z(pc=>{"use strict";Object.defineProperty(pc,"__esModule",{value:!0});function hx(e){return e&&e.__esModule?e:{default:e}}var jh=St(),tn=Ce(),fx=un(),dx=hx(fx),uc=class extends dx.default{constructor(t,s,i){super(),this.rootTransformer=t,this.tokens=s,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(tn.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(tn.TokenType._export,tn.TokenType._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(tn.TokenType._export,tn.TokenType._default,tn.TokenType._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(tn.TokenType.name);let t=!1;this.tokens.matchesContextual(jh.ContextualKeyword._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(jh.ContextualKeyword._symbol),this.tokens.removeToken());let s=this.tokens.matches3(tn.TokenType.braceL,tn.TokenType.name,tn.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let i=!t&&!s;for(this.tokens.replaceTokenTrimmingLeftWhitespace(i?".Mirrored([":"({");!this.tokens.matches1(tn.TokenType.braceR);){if(this.tokens.matches1(tn.TokenType.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,s),this.tokens.matches1(tn.TokenType.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(i?"]);":"});")}processEnumElement(t,s){if(t){let i=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${i}")`)}else s?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};pc.default=uc});var qh=Z(fc=>{"use strict";Object.defineProperty(fc,"__esModule",{value:!0});function mx(e){return e&&e.__esModule?e:{default:e}}function yx(e){let t,s=e[0],i=1;for(;i<e.length;){let r=e[i],a=e[i+1];if(i+=2,(r==="optionalAccess"||r==="optionalCall")&&s==null)return;r==="access"||r==="optionalAccess"?(t=s,s=a(s)):(r==="call"||r==="optionalCall")&&(s=a((...u)=>s.call(t,...u)),t=void 0)}return s}var Qn=Ce(),Tx=un(),kx=mx(Tx),Do="jest",vx=["mock","unmock","enableAutomock","disableAutomock"],hc=class e extends kx.default{__init(){this.hoistedFunctionNames=[]}constructor(t,s,i,r){super(),this.rootTransformer=t,this.tokens=s,this.nameManager=i,this.importProcessor=r,e.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(Qn.TokenType.name,Qn.TokenType.dot,Qn.TokenType.name,Qn.TokenType.parenL)&&this.tokens.identifierName()===Do?yx([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(Do)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(Qn.TokenType.dot,Qn.TokenType.name,Qn.TokenType.parenL);){let s=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(vx.includes(s)){let r=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(r),this.tokens.replaceToken(`function ${r}(){${Do}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Qn.TokenType.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${Do}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Qn.TokenType.parenR),t=!0}return!0}};fc.default=hc});var Kh=Z(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});function xx(e){return e&&e.__esModule?e:{default:e}}var gx=Ce(),_x=un(),bx=xx(_x),dc=class extends bx.default{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(gx.TokenType.num)){let t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}};mc.default=dc});var Hh=Z(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});function Cx(e){return e&&e.__esModule?e:{default:e}}var Uh=Ce(),wx=un(),Sx=Cx(wx),yc=class extends Sx.default{constructor(t,s){super(),this.tokens=t,this.nameManager=s}process(){return this.tokens.matches2(Uh.TokenType._catch,Uh.TokenType.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};Tc.default=yc});var Wh=Z(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});function Ix(e){return e&&e.__esModule?e:{default:e}}var Vt=Ce(),Ex=un(),Ax=Ix(Ex),kc=class extends Ax.default{constructor(t,s){super(),this.tokens=t,this.nameManager=s}process(){if(this.tokens.matches1(Vt.TokenType.nullishCoalescing)){let i=this.tokens.currentToken();return this.tokens.tokens[i.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(Vt.TokenType._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let s=this.tokens.currentToken().subscriptStartIndex;if(s!=null&&this.tokens.tokens[s].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==Vt.TokenType._super){let i=this.nameManager.claimFreeName("_"),r;if(s>0&&this.tokens.matches1AtIndex(s-1,Vt.TokenType._delete)&&this.isLastSubscriptInChain()?r=`${i} => delete ${i}`:r=`${i} => ${i}`,this.tokens.tokens[s].isAsyncOperation&&(r=`async ${r}`),this.tokens.matches2(Vt.TokenType.questionDot,Vt.TokenType.parenL)||this.tokens.matches2(Vt.TokenType.questionDot,Vt.TokenType.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${r}`);else if(this.tokens.matches2(Vt.TokenType.questionDot,Vt.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${r}`);else if(this.tokens.matches1(Vt.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${r}.`);else if(this.tokens.matches1(Vt.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${r}.`);else if(this.tokens.matches1(Vt.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${r}[`);else if(this.tokens.matches1(Vt.TokenType.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${r}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let s=this.tokens.currentIndex()+1;;s++){if(s>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?t++:this.tokens.tokens[s].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,s=this.tokens.currentIndex()-1;for(;;){if(s<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?t--:this.tokens.tokens[s].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return this.tokens.tokens[s-1].type===Vt.TokenType._super;s--}}};vc.default=kc});var zh=Z(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});function Px(e){return e&&e.__esModule?e:{default:e}}var Gh=gt(),It=Ce(),Nx=un(),Rx=Px(Nx),xc=class extends Rx.default{constructor(t,s,i,r){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.options=r}process(){let t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return s?this.tokens.replaceToken(`(0, ${s})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(It.TokenType.name,It.TokenType.dot,It.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return s?(this.tokens.replaceToken(s),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){let s=this.findDisplayName(t);s&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(It.TokenType.parenL),this.tokens.copyExpectedToken(It.TokenType.braceL),this.tokens.appendCode(`displayName: '${s}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(It.TokenType.braceR),this.tokens.copyExpectedToken(It.TokenType.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,It.TokenType.name,It.TokenType.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===Gh.IdentifierRole.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,It.TokenType._export,It.TokenType._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let s=(this.options.filePath||"unknown").split("/"),i=s[s.length-1],r=i.lastIndexOf("."),a=r===-1?i:i.slice(0,r);return a==="index"&&s[s.length-2]?s[s.length-2]:a}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(It.TokenType.parenL,It.TokenType.braceL))return!1;let s=t+1,i=this.tokens.tokens[s].contextId;if(i==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){let r=this.tokens.tokens[t];if(r.type===It.TokenType.braceR&&r.contextId===i){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===Gh.IdentifierRole.ObjectKey&&r.contextId===i)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,It.TokenType.parenR)||this.tokens.matches2AtIndex(t,It.TokenType.comma,It.TokenType.parenR)}};gc.default=xc});var Yh=Z(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});function Lx(e){return e&&e.__esModule?e:{default:e}}var Xh=gt(),Ox=un(),Dx=Lx(Ox),_c=class e extends Dx.default{__init(){this.extractedDefaultExportName=null}constructor(t,s){super(),this.tokens=t,this.filePath=s,e.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return` +`:""}process(){return this.tokens.matches3(N.TokenType._import,N.TokenType.name,N.TokenType.eq)?this.processImportEquals():this.tokens.matches1(N.TokenType._import)?(this.processImport(),!0):this.tokens.matches2(N.TokenType._export,N.TokenType.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(N.TokenType._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(N.TokenType.name,N.TokenType.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(N.TokenType.name)||this.tokens.matches1(N.TokenType.jsxName)?this.processIdentifier():this.tokens.matches1(N.TokenType.eq)?this.processAssignment():this.tokens.matches1(N.TokenType.assign)?this.processComplexAssignment():this.tokens.matches1(N.TokenType.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.isTypeName(t)?cx.default.call(void 0,this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(N.TokenType._import,N.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let s=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${s}require`);let i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(N.TokenType.parenR,i);)this.rootTransformer.processToken();this.tokens.replaceToken(s?")))":"))");return}if(this.removeImportAndDetectIfType())this.tokens.removeToken();else{let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),this.tokens.appendCode(this.importProcessor.claimImportCode(s))}Vo.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}removeImportAndDetectIfType(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(Ms.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,N.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Ms.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(N.TokenType.name)||this.tokens.matches1(N.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(N.TokenType.string))return!1;let t=!1;for(;!this.tokens.matches1(N.TokenType.string);)(!t&&this.tokens.matches1(N.TokenType.braceL)||this.tokens.matches1(N.TokenType.comma))&&(this.tokens.removeToken(),(this.tokens.matches2(N.TokenType.name,N.TokenType.comma)||this.tokens.matches2(N.TokenType.name,N.TokenType.braceR)||this.tokens.matches4(N.TokenType.name,N.TokenType.name,N.TokenType.name,N.TokenType.comma)||this.tokens.matches4(N.TokenType.name,N.TokenType.name,N.TokenType.name,N.TokenType.braceR))&&(t=!0)),this.tokens.removeToken();return!t}removeRemainingImport(){for(;!this.tokens.matches1(N.TokenType.string);)this.tokens.removeToken()}processIdentifier(){let t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===Bo.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==Bo.IdentifierRole.Access)return!1;let s=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!s)return!1;let i=this.tokens.currentIndex()+1;for(;i<this.tokens.tokens.length&&this.tokens.tokens[i].type===N.TokenType.parenR;)i++;return this.tokens.tokens[i].type===N.TokenType.parenL?this.tokens.tokenAtRelativeIndex(1).type===N.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==N.TokenType._new?(this.tokens.replaceToken(`${s}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR)):this.tokens.replaceToken(`(0, ${s})`):this.tokens.replaceToken(s),!0}processObjectShorthand(){let t=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(t);return s?(this.tokens.replaceToken(`${t}: ${s}`),!0):!1}processExport(){if(this.tokens.matches2(N.TokenType._export,N.TokenType._enum)||this.tokens.matches3(N.TokenType._export,N.TokenType._const,N.TokenType._enum))return!1;if(this.tokens.matches2(N.TokenType._export,N.TokenType._default))return this.hadDefaultExport=!0,this.tokens.matches3(N.TokenType._export,N.TokenType._default,N.TokenType._enum)?!1:(this.processExportDefault(),!0);if(this.hadNamedExport=!0,this.tokens.matches2(N.TokenType._export,N.TokenType._var)||this.tokens.matches2(N.TokenType._export,N.TokenType._let)||this.tokens.matches2(N.TokenType._export,N.TokenType._const))return this.processExportVar(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType._function)||this.tokens.matches3(N.TokenType._export,N.TokenType.name,N.TokenType._function))return this.processExportFunction(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType._class)||this.tokens.matches3(N.TokenType._export,N.TokenType._abstract,N.TokenType._class)||this.tokens.matches2(N.TokenType._export,N.TokenType.at))return this.processExportClass(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.star))return this.processExportStar(),!0;if(this.tokens.matches2(N.TokenType._export,N.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Ms.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(N.TokenType.braceL)){for(;!this.tokens.matches1(N.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(N.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Ms.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,N.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Vo.removeMaybeImportAssertion.call(void 0,this.tokens)),!0}else throw new Error("Unrecognized export syntax.")}processAssignment(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t-1];if(s.isType||s.type!==N.TokenType.name||s.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,N.TokenType.dot)||t>=2&&[N.TokenType._var,N.TokenType._let,N.TokenType._const].includes(this.tokens.tokens[t-2].type))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return i?(this.tokens.copyToken(),this.tokens.appendCode(` ${i} =`),!0):!1}processComplexAssignment(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t-1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,N.TokenType.dot))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return i?(this.tokens.appendCode(` = ${i}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t+1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,N.TokenType.dot)||this.tokens.matches1AtIndex(t+2,N.TokenType.bracketL)||this.tokens.matches1AtIndex(t+2,N.TokenType.parenL)))return!1;let i=this.tokens.identifierNameForToken(s),r=this.importProcessor.resolveExportBinding(i);return r?(this.tokens.appendCode(`${r} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let t=this.tokens.currentIndex(),s=this.tokens.tokens[t],i=this.tokens.tokens[t+1];if(s.type!==N.TokenType.name||s.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,N.TokenType.dot))return!1;let r=this.tokens.identifierNameForToken(s),a=this.importProcessor.resolveExportBinding(r);if(!a)return!1;let u=this.tokens.rawCodeForToken(i),d=this.importProcessor.getIdentifierReplacement(r)||r;if(u==="++")this.tokens.replaceToken(`(${d} = ${a} = ${d} + 1, ${d} - 1)`);else if(u==="--")this.tokens.replaceToken(`(${d} = ${a} = ${d} - 1, ${d} + 1)`);else throw new Error(`Unexpected operator: ${u}`);return this.tokens.removeToken(),!0}processExportDefault(){if(this.tokens.matches4(N.TokenType._export,N.TokenType._default,N.TokenType._function,N.TokenType.name)||this.tokens.matches5(N.TokenType._export,N.TokenType._default,N.TokenType.name,N.TokenType._function,N.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Ms.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${t};`)}else if(this.tokens.matches4(N.TokenType._export,N.TokenType._default,N.TokenType._class,N.TokenType.name)||this.tokens.matches5(N.TokenType._export,N.TokenType._default,N.TokenType._abstract,N.TokenType._class,N.TokenType.name)||this.tokens.matches3(N.TokenType._export,N.TokenType._default,N.TokenType.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(N.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${t};`)}else if(dx.default.call(void 0,this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let t=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${t}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${t} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(t)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =")}copyDecorators(){for(;this.tokens.matches1(N.TokenType.at);)if(this.tokens.copyToken(),this.tokens.matches1(N.TokenType.parenL))this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR);else{for(this.tokens.copyExpectedToken(N.TokenType.name);this.tokens.matches1(N.TokenType.dot);)this.tokens.copyExpectedToken(N.TokenType.dot),this.tokens.copyExpectedToken(N.TokenType.name);this.tokens.matches1(N.TokenType.parenL)&&(this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,N.TokenType.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,N.TokenType.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let t=this.tokens.identifierName();for(;!this.tokens.matches1(N.TokenType.eq);)this.rootTransformer.processToken();let s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.matches1(N.TokenType.braceL);t&&this.tokens.appendCode("(");let s=0;for(;;)if(this.tokens.matches1(N.TokenType.braceL)||this.tokens.matches1(N.TokenType.dollarBraceL)||this.tokens.matches1(N.TokenType.bracketL))s++,this.tokens.copyToken();else if(this.tokens.matches1(N.TokenType.braceR)||this.tokens.matches1(N.TokenType.bracketR))s--,this.tokens.copyToken();else{if(s===0&&!this.tokens.matches1(N.TokenType.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(N.TokenType.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken()}else{let i=this.tokens.currentToken();if(Bo.isDeclaration.call(void 0,i)){let r=this.tokens.identifierName(),a=this.importProcessor.getIdentifierReplacement(r);if(a===null)throw new Error(`Expected a replacement for ${r} in \`export var\` syntax.`);Bo.isObjectShorthandDeclaration.call(void 0,i)&&(a=`${r}: ${a}`),this.tokens.replaceToken(a)}else this.rootTransformer.processToken()}}if(t){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(N.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(N.TokenType.name,N.TokenType._function)){if(!this.tokens.matchesContextual(Ms.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(N.TokenType.star)&&this.tokens.copyToken(),!this.tokens.matches1(N.TokenType.name))throw new Error("Expected identifier for exported function name.");let t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(N.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(N.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(N.TokenType.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(N.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=[];for(;;){if(this.tokens.matches1(N.TokenType.braceR)){this.tokens.removeToken();break}let s=hx.default.call(void 0,this.tokens);for(;this.tokens.currentIndex()<s.endIndex;)this.tokens.removeToken();if(!s.isType&&!this.shouldElideExportedIdentifier(s.leftName)){let i=s.leftName,r=s.rightName,a=this.importProcessor.getIdentifierReplacement(i);t.push(`exports.${r} = ${a||i};`)}if(this.tokens.matches1(N.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(N.TokenType.comma,N.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(N.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(Ms.ContextualKeyword._from)){this.tokens.removeToken();let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),Vo.removeMaybeImportAssertion.call(void 0,this.tokens)}else this.tokens.appendCode(t.join(" "));this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(N.TokenType.string);)this.tokens.removeToken();let t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Vo.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(N.TokenType.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.declarationInfo.valueDeclarations.has(t)}};yc.default=Tc});var Jh=Z(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});function Tr(e){return e&&e.__esModule?e:{default:e}}var ns=It(),se=we(),yx=uc(),kx=Tr(yx),Yh=pc(),vx=Tr(Yh),xx=Ji(),zh=Tr(xx),gx=Ga(),Xh=fc(),_x=mc(),bx=Tr(_x),Cx=hn(),wx=Tr(Cx),kc=class extends wx.default{constructor(t,s,i,r,a,u){super(),this.tokens=t,this.nameManager=s,this.helperManager=i,this.reactHotLoaderTransformer=r,this.isTypeScriptTransformEnabled=a,this.nonTypeIdentifiers=a?gx.getNonTypeIdentifiers.call(void 0,t,u):new Set,this.declarationInfo=a?vx.default.call(void 0,t):Yh.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=!!u.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(se.TokenType._import,se.TokenType.name,se.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(se.TokenType._import,se.TokenType.name,se.TokenType.name,se.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ns.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(se.TokenType._export,se.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(se.TokenType._export,se.TokenType._import,se.TokenType.name,se.TokenType.name,se.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ns.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(se.TokenType._import))return this.processImport();if(this.tokens.matches2(se.TokenType._export,se.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(se.TokenType._export,se.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(se.TokenType._export,se.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ns.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(se.TokenType.braceL)){for(;!this.tokens.matches1(se.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(se.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(ns.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,se.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Xh.removeMaybeImportAssertion.call(void 0,this.tokens)),!0}return!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.isTypeName(t)?kx.default.call(void 0,this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(se.TokenType._import,se.TokenType.parenL))return!1;let t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(se.TokenType.string);)this.tokens.removeToken();this.tokens.removeToken(),Xh.removeMaybeImportAssertion.call(void 0,this.tokens),this.tokens.matches1(se.TokenType.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(se.TokenType._import),this.tokens.matchesContextual(ns.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,se.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ns.ContextualKeyword._from))return!0;if(this.tokens.matches1(se.TokenType.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(ns.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ns.ContextualKeyword._from)&&this.tokens.copyToken();let t=!1,s=!1;if(this.tokens.matches1(se.TokenType.name)&&(this.isTypeName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(se.TokenType.comma)&&(s=!0,this.tokens.removeToken()))),this.tokens.matches1(se.TokenType.star))this.isTypeName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(s&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(se.TokenType.star),this.tokens.copyExpectedToken(se.TokenType.name),this.tokens.copyExpectedToken(se.TokenType.name));else if(this.tokens.matches1(se.TokenType.braceL)){for(s&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(se.TokenType.braceR);){let i=zh.default.call(void 0,this.tokens);if(i.isType||this.isTypeName(i.rightName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(se.TokenType.braceR)}return!t}isTypeName(t){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(bx.default.call(void 0,this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(se.TokenType._export,se.TokenType._default,se.TokenType._function,se.TokenType.name)||this.tokens.matches5(se.TokenType._export,se.TokenType._default,se.TokenType.name,se.TokenType._function,se.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ns.ContextualKeyword._async)||this.tokens.matches4(se.TokenType._export,se.TokenType._default,se.TokenType._class,se.TokenType.name)||this.tokens.matches5(se.TokenType._export,se.TokenType._default,se.TokenType._abstract,se.TokenType._class,se.TokenType.name))&&this.reactHotLoaderTransformer){let s=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${s}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;for(this.tokens.copyExpectedToken(se.TokenType._export),this.tokens.copyExpectedToken(se.TokenType.braceL);!this.tokens.matches1(se.TokenType.braceR);){let t=zh.default.call(void 0,this.tokens);if(t.isType||this.shouldElideExportedName(t.leftName)){for(;this.tokens.currentIndex()<t.endIndex;)this.tokens.removeToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.removeToken()}else{for(;this.tokens.currentIndex()<t.endIndex;)this.tokens.copyToken();this.tokens.matches1(se.TokenType.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(se.TokenType.braceR),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}};vc.default=kc});var Zh=Z(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});function Sx(e){return e&&e.__esModule?e:{default:e}}var Qh=It(),rn=we(),Ix=hn(),Ex=Sx(Ix),xc=class extends Ex.default{constructor(t,s,i){super(),this.rootTransformer=t,this.tokens=s,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(rn.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(rn.TokenType._export,rn.TokenType._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(rn.TokenType._export,rn.TokenType._default,rn.TokenType._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(rn.TokenType.name);let t=!1;this.tokens.matchesContextual(Qh.ContextualKeyword._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(Qh.ContextualKeyword._symbol),this.tokens.removeToken());let s=this.tokens.matches3(rn.TokenType.braceL,rn.TokenType.name,rn.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let i=!t&&!s;for(this.tokens.replaceTokenTrimmingLeftWhitespace(i?".Mirrored([":"({");!this.tokens.matches1(rn.TokenType.braceR);){if(this.tokens.matches1(rn.TokenType.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,s),this.tokens.matches1(rn.TokenType.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(i?"]);":"});")}processEnumElement(t,s){if(t){let i=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${i}")`)}else s?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};gc.default=xc});var ef=Z(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});function Ax(e){return e&&e.__esModule?e:{default:e}}function Px(e){let t,s=e[0],i=1;for(;i<e.length;){let r=e[i],a=e[i+1];if(i+=2,(r==="optionalAccess"||r==="optionalCall")&&s==null)return;r==="access"||r==="optionalAccess"?(t=s,s=a(s)):(r==="call"||r==="optionalCall")&&(s=a((...u)=>s.call(t,...u)),t=void 0)}return s}var ss=we(),Nx=hn(),Rx=Ax(Nx),jo="jest",Lx=["mock","unmock","enableAutomock","disableAutomock"],_c=class e extends Rx.default{__init(){this.hoistedFunctionNames=[]}constructor(t,s,i,r){super(),this.rootTransformer=t,this.tokens=s,this.nameManager=i,this.importProcessor=r,e.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(ss.TokenType.name,ss.TokenType.dot,ss.TokenType.name,ss.TokenType.parenL)&&this.tokens.identifierName()===jo?Px([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(jo)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(ss.TokenType.dot,ss.TokenType.name,ss.TokenType.parenL);){let s=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(Lx.includes(s)){let r=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(r),this.tokens.replaceToken(`function ${r}(){${jo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ss.TokenType.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${jo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(ss.TokenType.parenR),t=!0}return!0}};bc.default=_c});var tf=Z(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});function Ox(e){return e&&e.__esModule?e:{default:e}}var Dx=we(),Mx=hn(),Fx=Ox(Mx),Cc=class extends Fx.default{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(Dx.TokenType.num)){let t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}};wc.default=Cc});var sf=Z(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});function Bx(e){return e&&e.__esModule?e:{default:e}}var nf=we(),Vx=hn(),jx=Bx(Vx),Sc=class extends jx.default{constructor(t,s){super(),this.tokens=t,this.nameManager=s}process(){return this.tokens.matches2(nf.TokenType._catch,nf.TokenType.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};Ic.default=Sc});var rf=Z(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});function $x(e){return e&&e.__esModule?e:{default:e}}var $t=we(),Kx=hn(),qx=$x(Kx),Ec=class extends qx.default{constructor(t,s){super(),this.tokens=t,this.nameManager=s}process(){if(this.tokens.matches1($t.TokenType.nullishCoalescing)){let i=this.tokens.currentToken();return this.tokens.tokens[i.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1($t.TokenType._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let s=this.tokens.currentToken().subscriptStartIndex;if(s!=null&&this.tokens.tokens[s].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==$t.TokenType._super){let i=this.nameManager.claimFreeName("_"),r;if(s>0&&this.tokens.matches1AtIndex(s-1,$t.TokenType._delete)&&this.isLastSubscriptInChain()?r=`${i} => delete ${i}`:r=`${i} => ${i}`,this.tokens.tokens[s].isAsyncOperation&&(r=`async ${r}`),this.tokens.matches2($t.TokenType.questionDot,$t.TokenType.parenL)||this.tokens.matches2($t.TokenType.questionDot,$t.TokenType.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${r}`);else if(this.tokens.matches2($t.TokenType.questionDot,$t.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${r}`);else if(this.tokens.matches1($t.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${r}.`);else if(this.tokens.matches1($t.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${r}.`);else if(this.tokens.matches1($t.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${r}[`);else if(this.tokens.matches1($t.TokenType.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${r}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let s=this.tokens.currentIndex()+1;;s++){if(s>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?t++:this.tokens.tokens[s].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,s=this.tokens.currentIndex()-1;for(;;){if(s<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?t--:this.tokens.tokens[s].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return this.tokens.tokens[s-1].type===$t.TokenType._super;s--}}};Ac.default=Ec});var af=Z(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});function Ux(e){return e&&e.__esModule?e:{default:e}}var of=bt(),Et=we(),Hx=hn(),Wx=Ux(Hx),Pc=class extends Wx.default{constructor(t,s,i,r){super(),this.rootTransformer=t,this.tokens=s,this.importProcessor=i,this.options=r}process(){let t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return s?this.tokens.replaceToken(`(0, ${s})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(Et.TokenType.name,Et.TokenType.dot,Et.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return s?(this.tokens.replaceToken(s),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){let s=this.findDisplayName(t);s&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(Et.TokenType.parenL),this.tokens.copyExpectedToken(Et.TokenType.braceL),this.tokens.appendCode(`displayName: '${s}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Et.TokenType.braceR),this.tokens.copyExpectedToken(Et.TokenType.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,Et.TokenType.name,Et.TokenType.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===of.IdentifierRole.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,Et.TokenType._export,Et.TokenType._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let s=(this.options.filePath||"unknown").split("/"),i=s[s.length-1],r=i.lastIndexOf("."),a=r===-1?i:i.slice(0,r);return a==="index"&&s[s.length-2]?s[s.length-2]:a}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(Et.TokenType.parenL,Et.TokenType.braceL))return!1;let s=t+1,i=this.tokens.tokens[s].contextId;if(i==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){let r=this.tokens.tokens[t];if(r.type===Et.TokenType.braceR&&r.contextId===i){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===of.IdentifierRole.ObjectKey&&r.contextId===i)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,Et.TokenType.parenR)||this.tokens.matches2AtIndex(t,Et.TokenType.comma,Et.TokenType.parenR)}};Nc.default=Pc});var cf=Z(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});function Gx(e){return e&&e.__esModule?e:{default:e}}var lf=bt(),zx=hn(),Xx=Gx(zx),Rc=class e extends Xx.default{__init(){this.extractedDefaultExportName=null}constructor(t,s){super(),this.tokens=t,this.filePath=s,e.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return` (function () { var enterModule = require('react-hot-loader').enterModule; enterModule && enterModule(module); - })();`.replace(/\s+/g," ").trim()}getSuffixCode(){let t=new Set;for(let i of this.tokens.tokens)!i.isType&&Xh.isTopLevelDeclaration.call(void 0,i)&&i.identifierRole!==Xh.IdentifierRole.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(i));let s=Array.from(t).map(i=>({variableName:i,uniqueLocalName:i}));return this.extractedDefaultExportName&&s.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),` + })();`.replace(/\s+/g," ").trim()}getSuffixCode(){let t=new Set;for(let i of this.tokens.tokens)!i.isType&&lf.isTopLevelDeclaration.call(void 0,i)&&i.identifierRole!==lf.IdentifierRole.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(i));let s=Array.from(t).map(i=>({variableName:i,uniqueLocalName:i}));return this.extractedDefaultExportName&&s.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),` ;(function () { var reactHotLoader = require('react-hot-loader').default; var leaveModule = require('react-hot-loader').leaveModule; @@ -171,21 +168,21 @@ module.exports = exports.default; ${s.map(({variableName:i,uniqueLocalName:r})=>` reactHotLoader.register(${i}, "${r}", ${JSON.stringify(this.filePath||"")});`).join(` `)} leaveModule(module); -})();`}process(){return!1}};bc.default=_c});var Qh=Z(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});var Jh=ai(),Mx=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function Fx(e){if(e.length===0||!Jh.IS_IDENTIFIER_START[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!Jh.IS_IDENTIFIER_CHAR[e.charCodeAt(t)])return!1;return!Mx.has(e)}Cc.default=Fx});var tf=Z(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});function ef(e){return e&&e.__esModule?e:{default:e}}var $e=Ce(),Bx=Qh(),Zh=ef(Bx),Vx=un(),jx=ef(Vx),wc=class extends jx.default{constructor(t,s,i){super(),this.rootTransformer=t,this.tokens=s,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1($e.TokenType._public)||this.tokens.matches1($e.TokenType._protected)||this.tokens.matches1($e.TokenType._private)||this.tokens.matches1($e.TokenType._abstract)||this.tokens.matches1($e.TokenType._readonly)||this.tokens.matches1($e.TokenType._override)||this.tokens.matches1($e.TokenType.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1($e.TokenType._enum)||this.tokens.matches2($e.TokenType._const,$e.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2($e.TokenType._export,$e.TokenType._enum)||this.tokens.matches3($e.TokenType._export,$e.TokenType._const,$e.TokenType._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1($e.TokenType._const)||this.tokens.matches1($e.TokenType._enum);)this.tokens.removeToken();let s=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${s}; (function (${s})`),this.tokens.copyExpectedToken($e.TokenType.braceL),this.processEnumBody(s),this.tokens.copyExpectedToken($e.TokenType.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${s} || (exports.${s} = ${s} = {}));`):this.tokens.appendCode(`)(${s} || (${s} = {}));`)}processEnumBody(t){let s=null;for(;!this.tokens.matches1($e.TokenType.braceR);){let{nameStringCode:i,variableName:r}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3($e.TokenType.eq,$e.TokenType.string,$e.TokenType.comma)||this.tokens.matches3($e.TokenType.eq,$e.TokenType.string,$e.TokenType.braceR)?this.processStringLiteralEnumMember(t,i,r):this.tokens.matches1($e.TokenType.eq)?this.processExplicitValueEnumMember(t,i,r):this.processImplicitValueEnumMember(t,i,r,s),this.tokens.matches1($e.TokenType.comma)&&this.tokens.removeToken(),r!=null?s=r:s=`${t}[${i}]`}}extractEnumKeyInfo(t){if(t.type===$e.TokenType.name){let s=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${s}"`,variableName:Zh.default.call(void 0,s)?s:null}}else if(t.type===$e.TokenType.string){let s=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:Zh.default.call(void 0,s)?s:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,s,i){i!=null?(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${s}] = ${i};`)):(this.tokens.appendCode(`${t}[${s}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,s,i){let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected rhsEndIndex on enum assign.");if(i!=null){for(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${s}] = ${i}] = ${s};`)}else{for(this.tokens.appendCode(`${t}[${t}[${s}]`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${s};`)}}processImplicitValueEnumMember(t,s,i,r){let a=r!=null?`${r} + 1`:"0";i!=null&&(this.tokens.appendCode(`const ${i} = ${a}; `),a=i),this.tokens.appendCode(`${t}[${t}[${s}] = ${a}] = ${s};`)}};Sc.default=wc});var nf=Z(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});function dn(e){return e&&e.__esModule?e:{default:e}}var $x=St(),ut=Ce(),qx=Ph(),Kx=dn(qx),Ux=Dh(),Hx=dn(Ux),Wx=Vh(),Gx=dn(Wx),zx=$h(),Xx=dn(zx),Yx=qh(),Jx=dn(Yx),Qx=Da(),Zx=dn(Qx),eg=Kh(),tg=dn(eg),ng=Hh(),sg=dn(ng),ig=Wh(),rg=dn(ig),og=zh(),ag=dn(og),lg=Yh(),cg=dn(lg),ug=tf(),pg=dn(ug),Ic=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,s,i,r){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;let{tokenProcessor:a,importProcessor:u}=t;this.tokens=a,this.isImportsTransformEnabled=s.includes("imports"),this.isReactHotLoaderTransformEnabled=s.includes("react-hot-loader"),this.disableESTransforms=!!r.disableESTransforms,r.disableESTransforms||(this.transformers.push(new rg.default(a,this.nameManager)),this.transformers.push(new tg.default(a)),this.transformers.push(new sg.default(a,this.nameManager))),s.includes("jsx")&&(r.jsxRuntime!=="preserve"&&this.transformers.push(new Zx.default(this,a,u,this.nameManager,r)),this.transformers.push(new ag.default(this,a,u,r)));let d=null;if(s.includes("react-hot-loader")){if(!r.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");d=new cg.default(a,r.filePath),this.transformers.push(d)}if(s.includes("imports")){if(u===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new Hx.default(this,a,u,this.nameManager,this.helperManager,d,i,!!r.enableLegacyTypeScriptModuleInterop,s.includes("typescript"),!!r.preserveDynamicImport))}else this.transformers.push(new Gx.default(a,this.nameManager,this.helperManager,d,s.includes("typescript"),r));s.includes("flow")&&this.transformers.push(new Xx.default(this,a,s.includes("imports"))),s.includes("typescript")&&this.transformers.push(new pg.default(this,a,s.includes("imports"))),s.includes("jest")&&this.transformers.push(new Jx.default(this,a,this.nameManager,u))}transform(){this.tokens.reset(),this.processBalancedCode();let s=this.isImportsTransformEnabled?'"use strict";':"";for(let u of this.transformers)s+=u.getPrefixCode();s+=this.helperManager.emitHelpers(),s+=this.generatedVariables.map(u=>` var ${u};`).join("");for(let u of this.transformers)s+=u.getHoistedCode();let i="";for(let u of this.transformers)i+=u.getSuffixCode();let r=this.tokens.finish(),{code:a}=r;if(a.startsWith("#!")){let u=a.indexOf(` +})();`}process(){return!1}};Lc.default=Rc});var pf=Z(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});var uf=ci(),Yx=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function Jx(e){if(e.length===0||!uf.IS_IDENTIFIER_START[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!uf.IS_IDENTIFIER_CHAR[e.charCodeAt(t)])return!1;return!Yx.has(e)}Oc.default=Jx});var df=Z(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});function ff(e){return e&&e.__esModule?e:{default:e}}var Ke=we(),Qx=pf(),hf=ff(Qx),Zx=hn(),eg=ff(Zx),Dc=class extends eg.default{constructor(t,s,i){super(),this.rootTransformer=t,this.tokens=s,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(Ke.TokenType._public)||this.tokens.matches1(Ke.TokenType._protected)||this.tokens.matches1(Ke.TokenType._private)||this.tokens.matches1(Ke.TokenType._abstract)||this.tokens.matches1(Ke.TokenType._readonly)||this.tokens.matches1(Ke.TokenType._override)||this.tokens.matches1(Ke.TokenType.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(Ke.TokenType._enum)||this.tokens.matches2(Ke.TokenType._const,Ke.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(Ke.TokenType._export,Ke.TokenType._enum)||this.tokens.matches3(Ke.TokenType._export,Ke.TokenType._const,Ke.TokenType._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(Ke.TokenType._const)||this.tokens.matches1(Ke.TokenType._enum);)this.tokens.removeToken();let s=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${s}; (function (${s})`),this.tokens.copyExpectedToken(Ke.TokenType.braceL),this.processEnumBody(s),this.tokens.copyExpectedToken(Ke.TokenType.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${s} || (exports.${s} = ${s} = {}));`):this.tokens.appendCode(`)(${s} || (${s} = {}));`)}processEnumBody(t){let s=null;for(;!this.tokens.matches1(Ke.TokenType.braceR);){let{nameStringCode:i,variableName:r}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(Ke.TokenType.eq,Ke.TokenType.string,Ke.TokenType.comma)||this.tokens.matches3(Ke.TokenType.eq,Ke.TokenType.string,Ke.TokenType.braceR)?this.processStringLiteralEnumMember(t,i,r):this.tokens.matches1(Ke.TokenType.eq)?this.processExplicitValueEnumMember(t,i,r):this.processImplicitValueEnumMember(t,i,r,s),this.tokens.matches1(Ke.TokenType.comma)&&this.tokens.removeToken(),r!=null?s=r:s=`${t}[${i}]`}}extractEnumKeyInfo(t){if(t.type===Ke.TokenType.name){let s=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${s}"`,variableName:hf.default.call(void 0,s)?s:null}}else if(t.type===Ke.TokenType.string){let s=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:hf.default.call(void 0,s)?s:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,s,i){i!=null?(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${s}] = ${i};`)):(this.tokens.appendCode(`${t}[${s}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,s,i){let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected rhsEndIndex on enum assign.");if(i!=null){for(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${s}] = ${i}] = ${s};`)}else{for(this.tokens.appendCode(`${t}[${t}[${s}]`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${s};`)}}processImplicitValueEnumMember(t,s,i,r){let a=r!=null?`${r} + 1`:"0";i!=null&&(this.tokens.appendCode(`const ${i} = ${a}; `),a=i),this.tokens.appendCode(`${t}[${t}[${s}] = ${a}] = ${s};`)}};Mc.default=Dc});var mf=Z(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});function Tn(e){return e&&e.__esModule?e:{default:e}}var tg=It(),pt=we(),ng=Kh(),sg=Tn(ng),ig=Gh(),rg=Tn(ig),og=Jh(),ag=Tn(og),lg=Zh(),cg=Tn(lg),ug=ef(),pg=Tn(ug),hg=Ha(),fg=Tn(hg),dg=tf(),mg=Tn(dg),Tg=sf(),yg=Tn(Tg),kg=rf(),vg=Tn(kg),xg=af(),gg=Tn(xg),_g=cf(),bg=Tn(_g),Cg=df(),wg=Tn(Cg),Fc=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,s,i,r){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;let{tokenProcessor:a,importProcessor:u}=t;this.tokens=a,this.isImportsTransformEnabled=s.includes("imports"),this.isReactHotLoaderTransformEnabled=s.includes("react-hot-loader"),this.disableESTransforms=!!r.disableESTransforms,r.disableESTransforms||(this.transformers.push(new vg.default(a,this.nameManager)),this.transformers.push(new mg.default(a)),this.transformers.push(new yg.default(a,this.nameManager))),s.includes("jsx")&&(r.jsxRuntime!=="preserve"&&this.transformers.push(new fg.default(this,a,u,this.nameManager,r)),this.transformers.push(new gg.default(this,a,u,r)));let d=null;if(s.includes("react-hot-loader")){if(!r.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");d=new bg.default(a,r.filePath),this.transformers.push(d)}if(s.includes("imports")){if(u===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new rg.default(this,a,u,this.nameManager,this.helperManager,d,i,!!r.enableLegacyTypeScriptModuleInterop,s.includes("typescript"),!!r.preserveDynamicImport))}else this.transformers.push(new ag.default(a,this.nameManager,this.helperManager,d,s.includes("typescript"),r));s.includes("flow")&&this.transformers.push(new cg.default(this,a,s.includes("imports"))),s.includes("typescript")&&this.transformers.push(new wg.default(this,a,s.includes("imports"))),s.includes("jest")&&this.transformers.push(new pg.default(this,a,this.nameManager,u))}transform(){this.tokens.reset(),this.processBalancedCode();let s=this.isImportsTransformEnabled?'"use strict";':"";for(let u of this.transformers)s+=u.getPrefixCode();s+=this.helperManager.emitHelpers(),s+=this.generatedVariables.map(u=>` var ${u};`).join("");for(let u of this.transformers)s+=u.getHoistedCode();let i="";for(let u of this.transformers)i+=u.getSuffixCode();let r=this.tokens.finish(),{code:a}=r;if(a.startsWith("#!")){let u=a.indexOf(` `);return u===-1&&(u=a.length,a+=` -`),{code:a.slice(0,u+1)+s+a.slice(u+1)+i,mappings:this.shiftMappings(r.mappings,s.length)}}else return{code:s+a+i,mappings:this.shiftMappings(r.mappings,s.length)}}processBalancedCode(){let t=0,s=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(ut.TokenType.braceL)||this.tokens.matches1(ut.TokenType.dollarBraceL))t++;else if(this.tokens.matches1(ut.TokenType.braceR)){if(t===0)return;t--}if(this.tokens.matches1(ut.TokenType.parenL))s++;else if(this.tokens.matches1(ut.TokenType.parenR)){if(s===0)return;s--}this.processToken()}}processToken(){if(this.tokens.matches1(ut.TokenType._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(ut.TokenType._class,ut.TokenType.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=Kx.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),s=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;s&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let a=this.tokens.currentToken().contextId;if(a==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(ut.TokenType._class);!this.tokens.matchesContextIdAndLabel(ut.TokenType.braceL,a);)this.processToken();this.processClassBody(t,i);let u=t.staticInitializerNames.map(d=>`${i}.${d}()`);s?this.tokens.appendCode(`, ${u.map(d=>`${d}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${u.map(d=>`${d};`).join(" ")}`)}processClassBody(t,s){let{headerInfo:i,constructorInsertPos:r,constructorInitializerStatements:a,fields:u,instanceInitializerNames:d,rangesToRemove:y}=t,g=0,L=0,p=this.tokens.currentToken().contextId;if(p==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(ut.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let h=a.length+d.length>0;if(r===null&&h){let T=this.makeConstructorInitCode(a,d,s);if(i.hasSuperclass){let x=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${x}) { super(...${x}); ${T}; }`)}else this.tokens.appendCode(`constructor() { ${T}; }`)}for(;!this.tokens.matchesContextIdAndLabel(ut.TokenType.braceR,p);)if(g<u.length&&this.tokens.currentIndex()===u[g].start){let T=!1;for(this.tokens.matches1(ut.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this`):this.tokens.matches1(ut.TokenType.string)||this.tokens.matches1(ut.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this[`),T=!0):this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this.`);this.tokens.currentIndex()<u[g].end;)T&&this.tokens.currentIndex()===u[g].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),g++}else if(L<y.length&&this.tokens.currentIndex()>=y[L].start){for(this.tokens.currentIndex()<y[L].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<y[L].end;)this.tokens.removeToken();L++}else this.tokens.currentIndex()===r?(this.tokens.copyToken(),h&&this.tokens.appendCode(`;${this.makeConstructorInitCode(a,d,s)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(ut.TokenType.braceR)}makeConstructorInitCode(t,s,i){return[...t,...s.map(r=>`${i}.prototype.${r}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(ut.TokenType.parenR,ut.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,ut.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual($x.ContextualKeyword._async)&&!this.tokens.matches1(ut.TokenType._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==ut.TokenType.lessThan||!t.isType)return!1;let s=this.tokens.currentIndex()+1;for(;this.tokens.tokens[s].isType;)s++;if(this.tokens.matches1AtIndex(s,ut.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<s;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,s){for(let i=0;i<t.length;i++){let r=t[i];r!==void 0&&(t[i]=r+s)}return t}};Ec.default=Ic});var of=Z(hr=>{"use strict";hr.__esModule=!0;hr.LinesAndColumns=void 0;var Mo=` -`,sf="\r",rf=function(){function e(t){this.string=t;for(var s=[0],i=0;i<t.length;)switch(t[i]){case Mo:i+=Mo.length,s.push(i);break;case sf:i+=sf.length,t[i]===Mo&&(i+=Mo.length),s.push(i);break;default:i++;break}this.offsets=s}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var s=0,i=this.offsets;i[s+1]<=t;)s++;var r=t-i[s];return{line:s,column:r}},e.prototype.indexForLocation=function(t){var s=t.line,i=t.column;return s<0||s>=this.offsets.length||i<0||i>this.lengthOfLine(s)?null:this.offsets[s]+i},e.prototype.lengthOfLine=function(t){var s=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-s},e}();hr.LinesAndColumns=rf;hr.default=rf});var af=Z(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});function hg(e){return e&&e.__esModule?e:{default:e}}var fg=of(),dg=hg(fg),mg=Ce();function yg(e,t){if(t.length===0)return"";let s=Object.keys(t[0]).filter(h=>h!=="type"&&h!=="value"&&h!=="start"&&h!=="end"&&h!=="loc"),i=Object.keys(t[0].type).filter(h=>h!=="label"&&h!=="keyword"),r=["Location","Label","Raw",...s,...i],a=new dg.default(e),u=[r,...t.map(y)],d=r.map(()=>0);for(let h of u)for(let T=0;T<h.length;T++)d[T]=Math.max(d[T],h[T].length);return u.map(h=>h.map((T,x)=>T.padEnd(d[x])).join(" ")).join(` -`);function y(h){let T=e.slice(h.start,h.end);return[L(h.start,h.end),mg.formatTokenType.call(void 0,h.type),Tg(String(T),14),...s.map(x=>g(h[x],x)),...i.map(x=>g(h.type[x],x))]}function g(h,T){return h===!0?T:h===!1||h===null?"":String(h)}function L(h,T){return`${p(h)}-${p(T)}`}function p(h){let T=a.locationForIndex(h);return T?`${T.line+1}:${T.column+1}`:"Unknown"}}Ac.default=yg;function Tg(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var lf=Z(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});function kg(e){return e&&e.__esModule?e:{default:e}}var Gt=Ce(),vg=Wi(),xg=kg(vg);function gg(e){let t=new Set;for(let s=0;s<e.tokens.length;s++)e.matches1AtIndex(s,Gt.TokenType._import)&&!e.matches3AtIndex(s,Gt.TokenType._import,Gt.TokenType.name,Gt.TokenType.eq)&&_g(e,s,t);return t}Pc.default=gg;function _g(e,t,s){t++,!e.matches1AtIndex(t,Gt.TokenType.parenL)&&(e.matches1AtIndex(t,Gt.TokenType.name)&&(s.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,Gt.TokenType.comma)&&t++),e.matches1AtIndex(t,Gt.TokenType.star)&&(t+=2,s.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,Gt.TokenType.braceL)&&(t++,bg(e,t,s)))}function bg(e,t,s){for(;;){if(e.matches1AtIndex(t,Gt.TokenType.braceR))return;let i=xg.default.call(void 0,e,t);if(t=i.endIndex,i.isType||s.add(i.rightName),e.matches2AtIndex(t,Gt.TokenType.comma,Gt.TokenType.braceR))return;if(e.matches1AtIndex(t,Gt.TokenType.braceR))return;if(e.matches1AtIndex(t,Gt.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var pf=Z(fr=>{"use strict";Object.defineProperty(fr,"__esModule",{value:!0});function vs(e){return e&&e.__esModule?e:{default:e}}var Cg=R1(),wg=vs(Cg),Sg=q1(),Ig=vs(Sg),Eg=K1(),Ag=W1(),cf=vs(Ag),Pg=z1(),Ng=vs(Pg),Rg=hp(),Lg=Ul(),Og=Ih(),Dg=vs(Og),Mg=nf(),Fg=vs(Mg),Bg=af(),Vg=vs(Bg),jg=lf(),$g=vs(jg);function qg(){return"3.32.0"}fr.getVersion=qg;function Kg(e,t){Rg.validateOptions.call(void 0,t);try{let s=uf(e,t),r=new Fg.default(s,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),a={code:r.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");a={...a,sourceMap:Ig.default.call(void 0,r,t.filePath,t.sourceMapOptions,e,s.tokenProcessor.tokens)}}return a}catch(s){throw t.filePath&&(s.message=`Error transforming ${t.filePath}: ${s.message}`),s}}fr.transform=Kg;function Ug(e,t){let s=uf(e,t).tokenProcessor.tokens;return Vg.default.call(void 0,e,s)}fr.getFormattedTokens=Ug;function uf(e,t){let s=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),r=t.transforms.includes("flow"),a=t.disableESTransforms===!0,u=Lg.parse.call(void 0,e,s,i,r),d=u.tokens,y=u.scopes,g=new Ng.default(e,d),L=new Eg.HelperManager(g),p=new Dg.default(e,d,r,a,L),h=!!t.enableLegacyTypeScriptModuleInterop,T=null;return t.transforms.includes("imports")?(T=new wg.default(g,p,h,t,t.transforms.includes("typescript"),L),T.preprocessTokens(),cf.default.call(void 0,p,y,T.getGlobalNames()),t.transforms.includes("typescript")&&T.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&cf.default.call(void 0,p,y,$g.default.call(void 0,p)),{tokenProcessor:p,scopes:y,nameManager:g,importProcessor:T,helperManager:L}}});var ff=Z((Fo,hf)=>{(function(e,t){typeof Fo=="object"&&typeof hf<"u"?t(Fo):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.acorn={}))})(Fo,function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],i="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",r="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",a={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},u="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",d={5:u,"5module":u+" export import",6:u+" const class extends export import super"},y=/^in(stanceof)?$/,g=new RegExp("["+r+"]"),L=new RegExp("["+r+i+"]");function p(n,o){for(var l=65536,f=0;f<o.length;f+=2){if(l+=o[f],l>n)return!1;if(l+=o[f+1],l>=n)return!0}return!1}function h(n,o){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&g.test(String.fromCharCode(n)):o===!1?!1:p(n,s)}function T(n,o){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&L.test(String.fromCharCode(n)):o===!1?!1:p(n,s)||p(n,t)}var x=function(o,l){l===void 0&&(l={}),this.label=o,this.keyword=l.keyword,this.beforeExpr=!!l.beforeExpr,this.startsExpr=!!l.startsExpr,this.isLoop=!!l.isLoop,this.isAssign=!!l.isAssign,this.prefix=!!l.prefix,this.postfix=!!l.postfix,this.binop=l.binop||null,this.updateContext=null};function w(n,o){return new x(n,{beforeExpr:!0,binop:o})}var S={beforeExpr:!0},A={startsExpr:!0},U={};function M(n,o){return o===void 0&&(o={}),o.keyword=n,U[n]=new x(n,o)}var c={num:new x("num",A),regexp:new x("regexp",A),string:new x("string",A),name:new x("name",A),privateId:new x("privateId",A),eof:new x("eof"),bracketL:new x("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new x("]"),braceL:new x("{",{beforeExpr:!0,startsExpr:!0}),braceR:new x("}"),parenL:new x("(",{beforeExpr:!0,startsExpr:!0}),parenR:new x(")"),comma:new x(",",S),semi:new x(";",S),colon:new x(":",S),dot:new x("."),question:new x("?",S),questionDot:new x("?."),arrow:new x("=>",S),template:new x("template"),invalidTemplate:new x("invalidTemplate"),ellipsis:new x("...",S),backQuote:new x("`",A),dollarBraceL:new x("${",{beforeExpr:!0,startsExpr:!0}),eq:new x("=",{beforeExpr:!0,isAssign:!0}),assign:new x("_=",{beforeExpr:!0,isAssign:!0}),incDec:new x("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new x("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:w("||",1),logicalAND:w("&&",2),bitwiseOR:w("|",3),bitwiseXOR:w("^",4),bitwiseAND:w("&",5),equality:w("==/!=/===/!==",6),relational:w("</>/<=/>=",7),bitShift:w("<</>>/>>>",8),plusMin:new x("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:w("%",10),star:w("*",10),slash:w("/",10),starstar:new x("**",{beforeExpr:!0}),coalesce:w("??",1),_break:M("break"),_case:M("case",S),_catch:M("catch"),_continue:M("continue"),_debugger:M("debugger"),_default:M("default",S),_do:M("do",{isLoop:!0,beforeExpr:!0}),_else:M("else",S),_finally:M("finally"),_for:M("for",{isLoop:!0}),_function:M("function",A),_if:M("if"),_return:M("return",S),_switch:M("switch"),_throw:M("throw",S),_try:M("try"),_var:M("var"),_const:M("const"),_while:M("while",{isLoop:!0}),_with:M("with"),_new:M("new",{beforeExpr:!0,startsExpr:!0}),_this:M("this",A),_super:M("super",A),_class:M("class",A),_extends:M("extends",S),_export:M("export"),_import:M("import",A),_null:M("null",A),_true:M("true",A),_false:M("false",A),_in:M("in",{beforeExpr:!0,binop:7}),_instanceof:M("instanceof",{beforeExpr:!0,binop:7}),_typeof:M("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:M("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:M("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,W=new RegExp(R.source,"g");function Y(n){return n===10||n===13||n===8232||n===8233}function ie(n,o,l){l===void 0&&(l=n.length);for(var f=o;f<l;f++){var m=n.charCodeAt(f);if(Y(m))return f<l-1&&m===13&&n.charCodeAt(f+1)===10?f+2:f+1}return-1}var pe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ae=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,He=Object.prototype,qe=He.hasOwnProperty,Ft=He.toString,mt=Object.hasOwn||function(n,o){return qe.call(n,o)},vt=Array.isArray||function(n){return Ft.call(n)==="[object Array]"},Et=Object.create(null);function st(n){return Et[n]||(Et[n]=new RegExp("^(?:"+n.replace(/ /g,"|")+")$"))}function it(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}var bt=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,pt=function(o,l){this.line=o,this.column=l};pt.prototype.offset=function(o){return new pt(this.line,this.column+o)};var wt=function(o,l,f){this.start=l,this.end=f,o.sourceFile!==null&&(this.source=o.sourceFile)};function jt(n,o){for(var l=1,f=0;;){var m=ie(n,f,o);if(m<0)return new pt(l,o-f);++l,f=m}}var At={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$t=!1;function mn(n){var o={};for(var l in At)o[l]=n&&mt(n,l)?n[l]:At[l];if(o.ecmaVersion==="latest"?o.ecmaVersion=1e8:o.ecmaVersion==null?(!$t&&typeof console=="object"&&console.warn&&($t=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. -Defaulting to 2020, but this will stop working in the future.`)),o.ecmaVersion=11):o.ecmaVersion>=2015&&(o.ecmaVersion-=2009),o.allowReserved==null&&(o.allowReserved=o.ecmaVersion<5),(!n||n.allowHashBang==null)&&(o.allowHashBang=o.ecmaVersion>=14),vt(o.onToken)){var f=o.onToken;o.onToken=function(m){return f.push(m)}}if(vt(o.onComment)&&(o.onComment=V(o,o.onComment)),o.sourceType==="commonjs"&&o.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return o}function V(n,o){return function(l,f,m,E,O,X){var Q={type:l?"Block":"Line",value:f,start:m,end:E};n.locations&&(Q.loc=new wt(this,O,X)),n.ranges&&(Q.range=[m,E]),o.push(Q)}}var G=1,J=2,re=4,ve=8,he=16,Ee=32,Ae=64,Le=128,ze=256,We=512,Xe=1024,lt=G|J|ze;function yt(n,o){return J|(n?re:0)|(o?ve:0)}var xt=0,qt=1,Ze=2,_n=3,Dn=4,Zn=5,Ke=function(o,l,f){this.options=o=mn(o),this.sourceFile=o.sourceFile,this.keywords=st(d[o.ecmaVersion>=6?6:o.sourceType==="module"?"5module":5]);var m="";o.allowReserved!==!0&&(m=a[o.ecmaVersion>=6?6:o.ecmaVersion===5?5:3],o.sourceType==="module"&&(m+=" await")),this.reservedWords=st(m);var E=(m?m+" ":"")+a.strict;this.reservedWordsStrict=st(E),this.reservedWordsStrictBind=st(E+" "+a.strictBind),this.input=String(l),this.containsEsc=!1,f?(this.pos=f,this.lineStart=this.input.lastIndexOf(` -`,f-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(R).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=o.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&o.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?J:G),this.regexpState=null,this.privateNameStack=[]},Tt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ke.prototype.parse=function(){var o=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(o)},Tt.inFunction.get=function(){return(this.currentVarScope().flags&J)>0},Tt.inGenerator.get=function(){return(this.currentVarScope().flags&ve)>0},Tt.inAsync.get=function(){return(this.currentVarScope().flags&re)>0},Tt.canAwait.get=function(){for(var n=this.scopeStack.length-1;n>=0;n--){var o=this.scopeStack[n],l=o.flags;if(l&(ze|We))return!1;if(l&J)return(l&re)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Tt.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&G)},Tt.allowSuper.get=function(){var n=this.currentThisScope(),o=n.flags;return(o&Ae)>0||this.options.allowSuperOutsideMethod},Tt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Le)>0},Tt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Tt.allowNewDotTarget.get=function(){for(var n=this.scopeStack.length-1;n>=0;n--){var o=this.scopeStack[n],l=o.flags;if(l&(ze|We)||l&J&&!(l&he))return!0}return!1},Tt.allowUsing.get=function(){var n=this.currentScope(),o=n.flags;return!(o&Xe||!this.inModule&&o&G)},Tt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ze)>0},Ke.extend=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];for(var f=this,m=0;m<o.length;m++)f=o[m](f);return f},Ke.parse=function(o,l){return new this(l,o).parse()},Ke.parseExpressionAt=function(o,l,f){var m=new this(f,o,l);return m.nextToken(),m.parseExpression()},Ke.tokenizer=function(o,l){return new this(l,o)},Object.defineProperties(Ke.prototype,Tt);var Ye=Ke.prototype,bn=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Ye.strictDirective=function(n){if(this.options.ecmaVersion<5)return!1;for(;;){ae.lastIndex=n,n+=ae.exec(this.input)[0].length;var o=bn.exec(this.input.slice(n));if(!o)return!1;if((o[1]||o[2])==="use strict"){ae.lastIndex=n+o[0].length;var l=ae.exec(this.input),f=l.index+l[0].length,m=this.input.charAt(f);return m===";"||m==="}"||R.test(l[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(m)||m==="!"&&this.input.charAt(f+1)==="=")}n+=o[0].length,ae.lastIndex=n,n+=ae.exec(this.input)[0].length,this.input[n]===";"&&n++}},Ye.eat=function(n){return this.type===n?(this.next(),!0):!1},Ye.isContextual=function(n){return this.type===c.name&&this.value===n&&!this.containsEsc},Ye.eatContextual=function(n){return this.isContextual(n)?(this.next(),!0):!1},Ye.expectContextual=function(n){this.eatContextual(n)||this.unexpected()},Ye.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))},Ye.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ye.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()},Ye.afterTrailingComma=function(n,o){if(this.type===n)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),o||this.next(),!0},Ye.expect=function(n){this.eat(n)||this.unexpected()},Ye.unexpected=function(n){this.raise(n??this.start,"Unexpected token")};var yn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ye.checkPatternErrors=function(n,o){if(n){n.trailingComma>-1&&this.raiseRecoverable(n.trailingComma,"Comma is not permitted after the rest element");var l=o?n.parenthesizedAssign:n.parenthesizedBind;l>-1&&this.raiseRecoverable(l,o?"Assigning to rvalue":"Parenthesized pattern")}},Ye.checkExpressionErrors=function(n,o){if(!n)return!1;var l=n.shorthandAssign,f=n.doubleProto;if(!o)return l>=0||f>=0;l>=0&&this.raise(l,"Shorthand property assignments are valid only in destructuring patterns"),f>=0&&this.raiseRecoverable(f,"Redefinition of __proto__ property")},Ye.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Ye.isSimpleAssignTarget=function(n){return n.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(n.expression):n.type==="Identifier"||n.type==="MemberExpression"};var te=Ke.prototype;te.parseTopLevel=function(n){var o=Object.create(null);for(n.body||(n.body=[]);this.type!==c.eof;){var l=this.parseStatement(null,!0,o);n.body.push(l)}if(this.inModule)for(var f=0,m=Object.keys(this.undefinedExports);f<m.length;f+=1){var E=m[f];this.raiseRecoverable(this.undefinedExports[E].start,"Export '"+E+"' is not defined")}return this.adaptDirectivePrologue(n.body),this.next(),n.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(n,"Program")};var Cn={kind:"loop"},gi={kind:"switch"};te.isLet=function(n){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ae.lastIndex=this.pos;var o=ae.exec(this.input),l=this.pos+o[0].length,f=this.fullCharCodeAt(l);if(f===91||f===92)return!0;if(n)return!1;if(f===123)return!0;if(h(f)){var m=l;do l+=f<=65535?1:2;while(T(f=this.fullCharCodeAt(l)));if(f===92)return!0;var E=this.input.slice(m,l);if(!y.test(E))return!0}return!1},te.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ae.lastIndex=this.pos;var n=ae.exec(this.input),o=this.pos+n[0].length,l;return!R.test(this.input.slice(this.pos,o))&&this.input.slice(o,o+8)==="function"&&(o+8===this.input.length||!(T(l=this.fullCharCodeAt(o+8))||l===92))},te.isUsingKeyword=function(n,o){if(this.options.ecmaVersion<17||!this.isContextual(n?"await":"using"))return!1;ae.lastIndex=this.pos;var l=ae.exec(this.input),f=this.pos+l[0].length;if(R.test(this.input.slice(this.pos,f)))return!1;if(n){var m=f+5,E;if(this.input.slice(f,m)!=="using"||m===this.input.length||T(E=this.fullCharCodeAt(m))||E===92)return!1;ae.lastIndex=m;var O=ae.exec(this.input);if(f=m+O[0].length,O&&R.test(this.input.slice(m,f)))return!1}var X=this.fullCharCodeAt(f);if(!h(X)&&X!==92)return!1;var Q=f;do f+=X<=65535?1:2;while(T(X=this.fullCharCodeAt(f)));if(X===92)return!0;var Te=this.input.slice(Q,f);return!(y.test(Te)||o&&Te==="of")},te.isAwaitUsing=function(n){return this.isUsingKeyword(!0,n)},te.isUsing=function(n){return this.isUsingKeyword(!1,n)},te.parseStatement=function(n,o,l){var f=this.type,m=this.startNode(),E;switch(this.isLet(n)&&(f=c._var,E="let"),f){case c._break:case c._continue:return this.parseBreakContinueStatement(m,f.keyword);case c._debugger:return this.parseDebuggerStatement(m);case c._do:return this.parseDoStatement(m);case c._for:return this.parseForStatement(m);case c._function:return n&&(this.strict||n!=="if"&&n!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(m,!1,!n);case c._class:return n&&this.unexpected(),this.parseClass(m,!0);case c._if:return this.parseIfStatement(m);case c._return:return this.parseReturnStatement(m);case c._switch:return this.parseSwitchStatement(m);case c._throw:return this.parseThrowStatement(m);case c._try:return this.parseTryStatement(m);case c._const:case c._var:return E=E||this.value,n&&E!=="var"&&this.unexpected(),this.parseVarStatement(m,E);case c._while:return this.parseWhileStatement(m);case c._with:return this.parseWithStatement(m);case c.braceL:return this.parseBlock(!0,m);case c.semi:return this.parseEmptyStatement(m);case c._export:case c._import:if(this.options.ecmaVersion>10&&f===c._import){ae.lastIndex=this.pos;var O=ae.exec(this.input),X=this.pos+O[0].length,Q=this.input.charCodeAt(X);if(Q===40||Q===46)return this.parseExpressionStatement(m,this.parseExpression())}return this.options.allowImportExportEverywhere||(o||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),f===c._import?this.parseImport(m):this.parseExport(m,l);default:if(this.isAsyncFunction())return n&&this.unexpected(),this.next(),this.parseFunctionStatement(m,!0,!n);var Te=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Te)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),Te==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(m,!1,Te),this.semicolon(),this.finishNode(m,"VariableDeclaration");var xe=this.value,tt=this.parseExpression();return f===c.name&&tt.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(m,xe,tt,n):this.parseExpressionStatement(m,tt)}},te.parseBreakContinueStatement=function(n,o){var l=o==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?n.label=null:this.type!==c.name?this.unexpected():(n.label=this.parseIdent(),this.semicolon());for(var f=0;f<this.labels.length;++f){var m=this.labels[f];if((n.label==null||m.name===n.label.name)&&(m.kind!=null&&(l||m.kind==="loop")||n.label&&l))break}return f===this.labels.length&&this.raise(n.start,"Unsyntactic "+o),this.finishNode(n,l?"BreakStatement":"ContinueStatement")},te.parseDebuggerStatement=function(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")},te.parseDoStatement=function(n){return this.next(),this.labels.push(Cn),n.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),n.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(n,"DoWhileStatement")},te.parseForStatement=function(n){this.next();var o=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Cn),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return o>-1&&this.unexpected(o),this.parseFor(n,null);var l=this.isLet();if(this.type===c._var||this.type===c._const||l){var f=this.startNode(),m=l?"let":this.value;return this.next(),this.parseVar(f,!0,m),this.finishNode(f,"VariableDeclaration"),this.parseForAfterInit(n,f,o)}var E=this.isContextual("let"),O=!1,X=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(X){var Q=this.startNode();return this.next(),X==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(Q,!0,X),this.finishNode(Q,"VariableDeclaration"),this.parseForAfterInit(n,Q,o)}var Te=this.containsEsc,xe=new yn,tt=this.start,Rt=o>-1?this.parseExprSubscripts(xe,"await"):this.parseExpression(!0,xe);return this.type===c._in||(O=this.options.ecmaVersion>=6&&this.isContextual("of"))?(o>-1?(this.type===c._in&&this.unexpected(o),n.await=!0):O&&this.options.ecmaVersion>=8&&(Rt.start===tt&&!Te&&Rt.type==="Identifier"&&Rt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(n.await=!1)),E&&O&&this.raise(Rt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Rt,!1,xe),this.checkLValPattern(Rt),this.parseForIn(n,Rt)):(this.checkExpressionErrors(xe,!0),o>-1&&this.unexpected(o),this.parseFor(n,Rt))},te.parseForAfterInit=function(n,o,l){return(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&o.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?l>-1&&this.unexpected(l):n.await=l>-1),this.parseForIn(n,o)):(l>-1&&this.unexpected(l),this.parseFor(n,o))},te.parseFunctionStatement=function(n,o,l){return this.next(),this.parseFunction(n,Mn|(l?0:xs),!1,o)},te.parseIfStatement=function(n){return this.next(),n.test=this.parseParenExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")},te.parseReturnStatement=function(n){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")},te.parseSwitchStatement=function(n){this.next(),n.discriminant=this.parseParenExpression(),n.cases=[],this.expect(c.braceL),this.labels.push(gi),this.enterScope(Xe);for(var o,l=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var f=this.type===c._case;o&&this.finishNode(o,"SwitchCase"),n.cases.push(o=this.startNode()),o.consequent=[],this.next(),f?o.test=this.parseExpression():(l&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),l=!0,o.test=null),this.expect(c.colon)}else o||this.unexpected(),o.consequent.push(this.parseStatement(null));return this.exitScope(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(n,"SwitchStatement")},te.parseThrowStatement=function(n){return this.next(),R.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")};var _i=[];te.parseCatchClauseParam=function(){var n=this.parseBindingAtom(),o=n.type==="Identifier";return this.enterScope(o?Ee:0),this.checkLValPattern(n,o?Dn:Ze),this.expect(c.parenR),n},te.parseTryStatement=function(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.type===c._catch){var o=this.startNode();this.next(),this.eat(c.parenL)?o.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),o.param=null,this.enterScope(0)),o.body=this.parseBlock(!1),this.exitScope(),n.handler=this.finishNode(o,"CatchClause")}return n.finalizer=this.eat(c._finally)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(n.start,"Missing catch or finally clause"),this.finishNode(n,"TryStatement")},te.parseVarStatement=function(n,o,l){return this.next(),this.parseVar(n,!1,o,l),this.semicolon(),this.finishNode(n,"VariableDeclaration")},te.parseWhileStatement=function(n){return this.next(),n.test=this.parseParenExpression(),this.labels.push(Cn),n.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(n,"WhileStatement")},te.parseWithStatement=function(n){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),n.object=this.parseParenExpression(),n.body=this.parseStatement("with"),this.finishNode(n,"WithStatement")},te.parseEmptyStatement=function(n){return this.next(),this.finishNode(n,"EmptyStatement")},te.parseLabeledStatement=function(n,o,l,f){for(var m=0,E=this.labels;m<E.length;m+=1){var O=E[m];O.name===o&&this.raise(l.start,"Label '"+o+"' is already declared")}for(var X=this.type.isLoop?"loop":this.type===c._switch?"switch":null,Q=this.labels.length-1;Q>=0;Q--){var Te=this.labels[Q];if(Te.statementStart===n.start)Te.statementStart=this.start,Te.kind=X;else break}return this.labels.push({name:o,kind:X,statementStart:this.start}),n.body=this.parseStatement(f?f.indexOf("label")===-1?f+"label":f:"label"),this.labels.pop(),n.label=l,this.finishNode(n,"LabeledStatement")},te.parseExpressionStatement=function(n,o){return n.expression=o,this.semicolon(),this.finishNode(n,"ExpressionStatement")},te.parseBlock=function(n,o,l){for(n===void 0&&(n=!0),o===void 0&&(o=this.startNode()),o.body=[],this.expect(c.braceL),n&&this.enterScope(0);this.type!==c.braceR;){var f=this.parseStatement(null);o.body.push(f)}return l&&(this.strict=!1),this.next(),n&&this.exitScope(),this.finishNode(o,"BlockStatement")},te.parseFor=function(n,o){return n.init=o,this.expect(c.semi),n.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),n.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,"ForStatement")},te.parseForIn=function(n,o){var l=this.type===c._in;return this.next(),o.type==="VariableDeclaration"&&o.declarations[0].init!=null&&(!l||this.options.ecmaVersion<8||this.strict||o.kind!=="var"||o.declarations[0].id.type!=="Identifier")&&this.raise(o.start,(l?"for-in":"for-of")+" loop variable declaration may not have an initializer"),n.left=o,n.right=l?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,l?"ForInStatement":"ForOfStatement")},te.parseVar=function(n,o,l,f){for(n.declarations=[],n.kind=l;;){var m=this.startNode();if(this.parseVarId(m,l),this.eat(c.eq)?m.init=this.parseMaybeAssign(o):!f&&l==="const"&&!(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!f&&(l==="using"||l==="await using")&&this.options.ecmaVersion>=17&&this.type!==c._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+l+" declaration"):!f&&m.id.type!=="Identifier"&&!(o&&(this.type===c._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):m.init=null,n.declarations.push(this.finishNode(m,"VariableDeclarator")),!this.eat(c.comma))break}return n},te.parseVarId=function(n,o){n.id=o==="using"||o==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(n.id,o==="var"?qt:Ze,!1)};var Mn=1,xs=2,Ds=4;te.parseFunction=function(n,o,l,f,m){this.initFunction(n),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!f)&&(this.type===c.star&&o&xs&&this.unexpected(),n.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(n.async=!!f),o&Mn&&(n.id=o&Ds&&this.type!==c.name?null:this.parseIdent(),n.id&&!(o&xs)&&this.checkLValSimple(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?qt:Ze:_n));var E=this.yieldPos,O=this.awaitPos,X=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yt(n.async,n.generator)),o&Mn||(n.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(n),this.parseFunctionBody(n,l,!1,m),this.yieldPos=E,this.awaitPos=O,this.awaitIdentPos=X,this.finishNode(n,o&Mn?"FunctionDeclaration":"FunctionExpression")},te.parseFunctionParams=function(n){this.expect(c.parenL),n.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},te.parseClass=function(n,o){this.next();var l=this.strict;this.strict=!0,this.parseClassId(n,o),this.parseClassSuper(n);var f=this.enterClassBody(),m=this.startNode(),E=!1;for(m.body=[],this.expect(c.braceL);this.type!==c.braceR;){var O=this.parseClassElement(n.superClass!==null);O&&(m.body.push(O),O.type==="MethodDefinition"&&O.kind==="constructor"?(E&&this.raiseRecoverable(O.start,"Duplicate constructor in the same class"),E=!0):O.key&&O.key.type==="PrivateIdentifier"&&bi(f,O)&&this.raiseRecoverable(O.key.start,"Identifier '#"+O.key.name+"' has already been declared"))}return this.strict=l,this.next(),n.body=this.finishNode(m,"ClassBody"),this.exitClassBody(),this.finishNode(n,o?"ClassDeclaration":"ClassExpression")},te.parseClassElement=function(n){if(this.eat(c.semi))return null;var o=this.options.ecmaVersion,l=this.startNode(),f="",m=!1,E=!1,O="method",X=!1;if(this.eatContextual("static")){if(o>=13&&this.eat(c.braceL))return this.parseClassStaticBlock(l),l;this.isClassElementNameStart()||this.type===c.star?X=!0:f="static"}if(l.static=X,!f&&o>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===c.star)&&!this.canInsertSemicolon()?E=!0:f="async"),!f&&(o>=9||!E)&&this.eat(c.star)&&(m=!0),!f&&!E&&!m){var Q=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?O=Q:f=Q)}if(f?(l.computed=!1,l.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),l.key.name=f,this.finishNode(l.key,"Identifier")):this.parseClassElementName(l),o<13||this.type===c.parenL||O!=="method"||m||E){var Te=!l.static&&es(l,"constructor"),xe=Te&&n;Te&&O!=="method"&&this.raise(l.key.start,"Constructor can't have get/set modifier"),l.kind=Te?"constructor":O,this.parseClassMethod(l,m,E,xe)}else this.parseClassField(l);return l},te.isClassElementNameStart=function(){return this.type===c.name||this.type===c.privateId||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword},te.parseClassElementName=function(n){this.type===c.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),n.computed=!1,n.key=this.parsePrivateIdent()):this.parsePropertyName(n)},te.parseClassMethod=function(n,o,l,f){var m=n.key;n.kind==="constructor"?(o&&this.raise(m.start,"Constructor can't be a generator"),l&&this.raise(m.start,"Constructor can't be an async method")):n.static&&es(n,"prototype")&&this.raise(m.start,"Classes may not have a static property named prototype");var E=n.value=this.parseMethod(o,l,f);return n.kind==="get"&&E.params.length!==0&&this.raiseRecoverable(E.start,"getter should have no params"),n.kind==="set"&&E.params.length!==1&&this.raiseRecoverable(E.start,"setter should have exactly one param"),n.kind==="set"&&E.params[0].type==="RestElement"&&this.raiseRecoverable(E.params[0].start,"Setter cannot use rest params"),this.finishNode(n,"MethodDefinition")},te.parseClassField=function(n){return es(n,"constructor")?this.raise(n.key.start,"Classes can't have a field named 'constructor'"):n.static&&es(n,"prototype")&&this.raise(n.key.start,"Classes can't have a static field named 'prototype'"),this.eat(c.eq)?(this.enterScope(We|Ae),n.value=this.parseMaybeAssign(),this.exitScope()):n.value=null,this.semicolon(),this.finishNode(n,"PropertyDefinition")},te.parseClassStaticBlock=function(n){n.body=[];var o=this.labels;for(this.labels=[],this.enterScope(ze|Ae);this.type!==c.braceR;){var l=this.parseStatement(null);n.body.push(l)}return this.next(),this.exitScope(),this.labels=o,this.finishNode(n,"StaticBlock")},te.parseClassId=function(n,o){this.type===c.name?(n.id=this.parseIdent(),o&&this.checkLValSimple(n.id,Ze,!1)):(o===!0&&this.unexpected(),n.id=null)},te.parseClassSuper=function(n){n.superClass=this.eat(c._extends)?this.parseExprSubscripts(null,!1):null},te.enterClassBody=function(){var n={declared:Object.create(null),used:[]};return this.privateNameStack.push(n),n.declared},te.exitClassBody=function(){var n=this.privateNameStack.pop(),o=n.declared,l=n.used;if(this.options.checkPrivateFields)for(var f=this.privateNameStack.length,m=f===0?null:this.privateNameStack[f-1],E=0;E<l.length;++E){var O=l[E];mt(o,O.name)||(m?m.used.push(O):this.raiseRecoverable(O.start,"Private field '#"+O.name+"' must be declared in an enclosing class"))}};function bi(n,o){var l=o.key.name,f=n[l],m="true";return o.type==="MethodDefinition"&&(o.kind==="get"||o.kind==="set")&&(m=(o.static?"s":"i")+o.kind),f==="iget"&&m==="iset"||f==="iset"&&m==="iget"||f==="sget"&&m==="sset"||f==="sset"&&m==="sget"?(n[l]="true",!1):f?!0:(n[l]=m,!1)}function es(n,o){var l=n.computed,f=n.key;return!l&&(f.type==="Identifier"&&f.name===o||f.type==="Literal"&&f.value===o)}te.parseExportAllDeclaration=function(n,o){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(n.exported=this.parseModuleExportName(),this.checkExport(o,n.exported,this.lastTokStart)):n.exported=null),this.expectContextual("from"),this.type!==c.string&&this.unexpected(),n.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(n,"ExportAllDeclaration")},te.parseExport=function(n,o){if(this.next(),this.eat(c.star))return this.parseExportAllDeclaration(n,o);if(this.eat(c._default))return this.checkExport(o,"default",this.lastTokStart),n.declaration=this.parseExportDefaultDeclaration(),this.finishNode(n,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())n.declaration=this.parseExportDeclaration(n),n.declaration.type==="VariableDeclaration"?this.checkVariableExport(o,n.declaration.declarations):this.checkExport(o,n.declaration.id,n.declaration.id.start),n.specifiers=[],n.source=null,this.options.ecmaVersion>=16&&(n.attributes=[]);else{if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(o),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),n.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause());else{for(var l=0,f=n.specifiers;l<f.length;l+=1){var m=f[l];this.checkUnreserved(m.local),this.checkLocalExport(m.local),m.local.type==="Literal"&&this.raise(m.local.start,"A string literal cannot be used as an exported binding without `from`.")}n.source=null,this.options.ecmaVersion>=16&&(n.attributes=[])}this.semicolon()}return this.finishNode(n,"ExportNamedDeclaration")},te.parseExportDeclaration=function(n){return this.parseStatement(null)},te.parseExportDefaultDeclaration=function(){var n;if(this.type===c._function||(n=this.isAsyncFunction())){var o=this.startNode();return this.next(),n&&this.next(),this.parseFunction(o,Mn|Ds,!1,n)}else if(this.type===c._class){var l=this.startNode();return this.parseClass(l,"nullableID")}else{var f=this.parseMaybeAssign();return this.semicolon(),f}},te.checkExport=function(n,o,l){n&&(typeof o!="string"&&(o=o.type==="Identifier"?o.name:o.value),mt(n,o)&&this.raiseRecoverable(l,"Duplicate export '"+o+"'"),n[o]=!0)},te.checkPatternExport=function(n,o){var l=o.type;if(l==="Identifier")this.checkExport(n,o,o.start);else if(l==="ObjectPattern")for(var f=0,m=o.properties;f<m.length;f+=1){var E=m[f];this.checkPatternExport(n,E)}else if(l==="ArrayPattern")for(var O=0,X=o.elements;O<X.length;O+=1){var Q=X[O];Q&&this.checkPatternExport(n,Q)}else l==="Property"?this.checkPatternExport(n,o.value):l==="AssignmentPattern"?this.checkPatternExport(n,o.left):l==="RestElement"&&this.checkPatternExport(n,o.argument)},te.checkVariableExport=function(n,o){if(n)for(var l=0,f=o;l<f.length;l+=1){var m=f[l];this.checkPatternExport(n,m.id)}},te.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},te.parseExportSpecifier=function(n){var o=this.startNode();return o.local=this.parseModuleExportName(),o.exported=this.eatContextual("as")?this.parseModuleExportName():o.local,this.checkExport(n,o.exported,o.exported.start),this.finishNode(o,"ExportSpecifier")},te.parseExportSpecifiers=function(n){var o=[],l=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(l)l=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;o.push(this.parseExportSpecifier(n))}return o},te.parseImport=function(n){return this.next(),this.type===c.string?(n.specifiers=_i,n.source=this.parseExprAtom()):(n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(n,"ImportDeclaration")},te.parseImportSpecifier=function(){var n=this.startNode();return n.imported=this.parseModuleExportName(),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLValSimple(n.local,Ze),this.finishNode(n,"ImportSpecifier")},te.parseImportDefaultSpecifier=function(){var n=this.startNode();return n.local=this.parseIdent(),this.checkLValSimple(n.local,Ze),this.finishNode(n,"ImportDefaultSpecifier")},te.parseImportNamespaceSpecifier=function(){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLValSimple(n.local,Ze),this.finishNode(n,"ImportNamespaceSpecifier")},te.parseImportSpecifiers=function(){var n=[],o=!0;if(this.type===c.name&&(n.push(this.parseImportDefaultSpecifier()),!this.eat(c.comma)))return n;if(this.type===c.star)return n.push(this.parseImportNamespaceSpecifier()),n;for(this.expect(c.braceL);!this.eat(c.braceR);){if(o)o=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;n.push(this.parseImportSpecifier())}return n},te.parseWithClause=function(){var n=[];if(!this.eat(c._with))return n;this.expect(c.braceL);for(var o={},l=!0;!this.eat(c.braceR);){if(l)l=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var f=this.parseImportAttribute(),m=f.key.type==="Identifier"?f.key.name:f.key.value;mt(o,m)&&this.raiseRecoverable(f.key.start,"Duplicate attribute key '"+m+"'"),o[m]=!0,n.push(f)}return n},te.parseImportAttribute=function(){var n=this.startNode();return n.key=this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(c.colon),this.type!==c.string&&this.unexpected(),n.value=this.parseExprAtom(),this.finishNode(n,"ImportAttribute")},te.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===c.string){var n=this.parseLiteral(this.value);return bt.test(n.value)&&this.raise(n.start,"An export name cannot include a lone surrogate."),n}return this.parseIdent(!0)},te.adaptDirectivePrologue=function(n){for(var o=0;o<n.length&&this.isDirectiveCandidate(n[o]);++o)n[o].directive=n[o].expression.raw.slice(1,-1)},te.isDirectiveCandidate=function(n){return this.options.ecmaVersion>=5&&n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&(this.input[n.start]==='"'||this.input[n.start]==="'")};var Pt=Ke.prototype;Pt.toAssignable=function(n,o,l){if(this.options.ecmaVersion>=6&&n)switch(n.type){case"Identifier":this.inAsync&&n.name==="await"&&this.raise(n.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern",l&&this.checkPatternErrors(l,!0);for(var f=0,m=n.properties;f<m.length;f+=1){var E=m[f];this.toAssignable(E,o),E.type==="RestElement"&&(E.argument.type==="ArrayPattern"||E.argument.type==="ObjectPattern")&&this.raise(E.argument.start,"Unexpected token")}break;case"Property":n.kind!=="init"&&this.raise(n.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(n.value,o);break;case"ArrayExpression":n.type="ArrayPattern",l&&this.checkPatternErrors(l,!0),this.toAssignableList(n.elements,o);break;case"SpreadElement":n.type="RestElement",this.toAssignable(n.argument,o),n.argument.type==="AssignmentPattern"&&this.raise(n.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":n.operator!=="="&&this.raise(n.left.end,"Only '=' operator can be used for specifying default value."),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,o);break;case"ParenthesizedExpression":this.toAssignable(n.expression,o,l);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!o)break;default:this.raise(n.start,"Assigning to rvalue")}else l&&this.checkPatternErrors(l,!0);return n},Pt.toAssignableList=function(n,o){for(var l=n.length,f=0;f<l;f++){var m=n[f];m&&this.toAssignable(m,o)}if(l){var E=n[l-1];this.options.ecmaVersion===6&&o&&E&&E.type==="RestElement"&&E.argument.type!=="Identifier"&&this.unexpected(E.argument.start)}return n},Pt.parseSpread=function(n){var o=this.startNode();return this.next(),o.argument=this.parseMaybeAssign(!1,n),this.finishNode(o,"SpreadElement")},Pt.parseRestBinding=function(){var n=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")},Pt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var n=this.startNode();return this.next(),n.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(n,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()},Pt.parseBindingList=function(n,o,l,f){for(var m=[],E=!0;!this.eat(n);)if(E?E=!1:this.expect(c.comma),o&&this.type===c.comma)m.push(null);else{if(l&&this.afterTrailingComma(n))break;if(this.type===c.ellipsis){var O=this.parseRestBinding();this.parseBindingListItem(O),m.push(O),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(n);break}else m.push(this.parseAssignableListItem(f))}return m},Pt.parseAssignableListItem=function(n){var o=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(o),o},Pt.parseBindingListItem=function(n){return n},Pt.parseMaybeDefault=function(n,o,l){if(l=l||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return l;var f=this.startNodeAt(n,o);return f.left=l,f.right=this.parseMaybeAssign(),this.finishNode(f,"AssignmentPattern")},Pt.checkLValSimple=function(n,o,l){o===void 0&&(o=xt);var f=o!==xt;switch(n.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(n.name)&&this.raiseRecoverable(n.start,(f?"Binding ":"Assigning to ")+n.name+" in strict mode"),f&&(o===Ze&&n.name==="let"&&this.raiseRecoverable(n.start,"let is disallowed as a lexically bound name"),l&&(mt(l,n.name)&&this.raiseRecoverable(n.start,"Argument name clash"),l[n.name]=!0),o!==Zn&&this.declareName(n.name,o,n.start));break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":f&&this.raiseRecoverable(n.start,"Binding member expression");break;case"ParenthesizedExpression":return f&&this.raiseRecoverable(n.start,"Binding parenthesized expression"),this.checkLValSimple(n.expression,o,l);default:this.raise(n.start,(f?"Binding":"Assigning to")+" rvalue")}},Pt.checkLValPattern=function(n,o,l){switch(o===void 0&&(o=xt),n.type){case"ObjectPattern":for(var f=0,m=n.properties;f<m.length;f+=1){var E=m[f];this.checkLValInnerPattern(E,o,l)}break;case"ArrayPattern":for(var O=0,X=n.elements;O<X.length;O+=1){var Q=X[O];Q&&this.checkLValInnerPattern(Q,o,l)}break;default:this.checkLValSimple(n,o,l)}},Pt.checkLValInnerPattern=function(n,o,l){switch(o===void 0&&(o=xt),n.type){case"Property":this.checkLValInnerPattern(n.value,o,l);break;case"AssignmentPattern":this.checkLValPattern(n.left,o,l);break;case"RestElement":this.checkLValPattern(n.argument,o,l);break;default:this.checkLValPattern(n,o,l)}};var Nt=function(o,l,f,m,E){this.token=o,this.isExpr=!!l,this.preserveSpace=!!f,this.override=m,this.generator=!!E},Ue={b_stat:new Nt("{",!1),b_expr:new Nt("{",!0),b_tmpl:new Nt("${",!1),p_stat:new Nt("(",!1),p_expr:new Nt("(",!0),q_tmpl:new Nt("`",!0,!0,function(n){return n.tryReadTemplateToken()}),f_stat:new Nt("function",!1),f_expr:new Nt("function",!0),f_expr_gen:new Nt("function",!0,!1,null,!0),f_gen:new Nt("function",!1,!1,null,!0)},wn=Ke.prototype;wn.initialContext=function(){return[Ue.b_stat]},wn.curContext=function(){return this.context[this.context.length-1]},wn.braceIsBlock=function(n){var o=this.curContext();return o===Ue.f_expr||o===Ue.f_stat?!0:n===c.colon&&(o===Ue.b_stat||o===Ue.b_expr)?!o.isExpr:n===c._return||n===c.name&&this.exprAllowed?R.test(this.input.slice(this.lastTokEnd,this.start)):n===c._else||n===c.semi||n===c.eof||n===c.parenR||n===c.arrow?!0:n===c.braceL?o===Ue.b_stat:n===c._var||n===c._const||n===c.name?!1:!this.exprAllowed},wn.inGeneratorContext=function(){for(var n=this.context.length-1;n>=1;n--){var o=this.context[n];if(o.token==="function")return o.generator}return!1},wn.updateContext=function(n){var o,l=this.type;l.keyword&&n===c.dot?this.exprAllowed=!1:(o=l.updateContext)?o.call(this,n):this.exprAllowed=l.beforeExpr},wn.overrideContext=function(n){this.curContext()!==n&&(this.context[this.context.length-1]=n)},c.parenR.updateContext=c.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var n=this.context.pop();n===Ue.b_stat&&this.curContext().token==="function"&&(n=this.context.pop()),this.exprAllowed=!n.isExpr},c.braceL.updateContext=function(n){this.context.push(this.braceIsBlock(n)?Ue.b_stat:Ue.b_expr),this.exprAllowed=!0},c.dollarBraceL.updateContext=function(){this.context.push(Ue.b_tmpl),this.exprAllowed=!0},c.parenL.updateContext=function(n){var o=n===c._if||n===c._for||n===c._with||n===c._while;this.context.push(o?Ue.p_stat:Ue.p_expr),this.exprAllowed=!0},c.incDec.updateContext=function(){},c._function.updateContext=c._class.updateContext=function(n){n.beforeExpr&&n!==c._else&&!(n===c.semi&&this.curContext()!==Ue.p_stat)&&!(n===c._return&&R.test(this.input.slice(this.lastTokEnd,this.start)))&&!((n===c.colon||n===c.braceL)&&this.curContext()===Ue.b_stat)?this.context.push(Ue.f_expr):this.context.push(Ue.f_stat),this.exprAllowed=!1},c.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},c.backQuote.updateContext=function(){this.curContext()===Ue.q_tmpl?this.context.pop():this.context.push(Ue.q_tmpl),this.exprAllowed=!1},c.star.updateContext=function(n){if(n===c._function){var o=this.context.length-1;this.context[o]===Ue.f_expr?this.context[o]=Ue.f_expr_gen:this.context[o]=Ue.f_gen}this.exprAllowed=!0},c.name.updateContext=function(n){var o=!1;this.options.ecmaVersion>=6&&n!==c.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(o=!0),this.exprAllowed=o};var de=Ke.prototype;de.checkPropClash=function(n,o,l){if(!(this.options.ecmaVersion>=9&&n.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(n.computed||n.method||n.shorthand))){var f=n.key,m;switch(f.type){case"Identifier":m=f.name;break;case"Literal":m=String(f.value);break;default:return}var E=n.kind;if(this.options.ecmaVersion>=6){m==="__proto__"&&E==="init"&&(o.proto&&(l?l.doubleProto<0&&(l.doubleProto=f.start):this.raiseRecoverable(f.start,"Redefinition of __proto__ property")),o.proto=!0);return}m="$"+m;var O=o[m];if(O){var X;E==="init"?X=this.strict&&O.init||O.get||O.set:X=O.init||O[E],X&&this.raiseRecoverable(f.start,"Redefinition of property")}else O=o[m]={init:!1,get:!1,set:!1};O[E]=!0}},de.parseExpression=function(n,o){var l=this.start,f=this.startLoc,m=this.parseMaybeAssign(n,o);if(this.type===c.comma){var E=this.startNodeAt(l,f);for(E.expressions=[m];this.eat(c.comma);)E.expressions.push(this.parseMaybeAssign(n,o));return this.finishNode(E,"SequenceExpression")}return m},de.parseMaybeAssign=function(n,o,l){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(n);this.exprAllowed=!1}var f=!1,m=-1,E=-1,O=-1;o?(m=o.parenthesizedAssign,E=o.trailingComma,O=o.doubleProto,o.parenthesizedAssign=o.trailingComma=-1):(o=new yn,f=!0);var X=this.start,Q=this.startLoc;(this.type===c.parenL||this.type===c.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=n==="await");var Te=this.parseMaybeConditional(n,o);if(l&&(Te=l.call(this,Te,X,Q)),this.type.isAssign){var xe=this.startNodeAt(X,Q);return xe.operator=this.value,this.type===c.eq&&(Te=this.toAssignable(Te,!1,o)),f||(o.parenthesizedAssign=o.trailingComma=o.doubleProto=-1),o.shorthandAssign>=Te.start&&(o.shorthandAssign=-1),this.type===c.eq?this.checkLValPattern(Te):this.checkLValSimple(Te),xe.left=Te,this.next(),xe.right=this.parseMaybeAssign(n),O>-1&&(o.doubleProto=O),this.finishNode(xe,"AssignmentExpression")}else f&&this.checkExpressionErrors(o,!0);return m>-1&&(o.parenthesizedAssign=m),E>-1&&(o.trailingComma=E),Te},de.parseMaybeConditional=function(n,o){var l=this.start,f=this.startLoc,m=this.parseExprOps(n,o);if(this.checkExpressionErrors(o))return m;if(this.eat(c.question)){var E=this.startNodeAt(l,f);return E.test=m,E.consequent=this.parseMaybeAssign(),this.expect(c.colon),E.alternate=this.parseMaybeAssign(n),this.finishNode(E,"ConditionalExpression")}return m},de.parseExprOps=function(n,o){var l=this.start,f=this.startLoc,m=this.parseMaybeUnary(o,!1,!1,n);return this.checkExpressionErrors(o)||m.start===l&&m.type==="ArrowFunctionExpression"?m:this.parseExprOp(m,l,f,-1,n)},de.parseExprOp=function(n,o,l,f,m){var E=this.type.binop;if(E!=null&&(!m||this.type!==c._in)&&E>f){var O=this.type===c.logicalOR||this.type===c.logicalAND,X=this.type===c.coalesce;X&&(E=c.logicalAND.binop);var Q=this.value;this.next();var Te=this.start,xe=this.startLoc,tt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,m),Te,xe,E,m),Rt=this.buildBinary(o,l,n,tt,Q,O||X);return(O&&this.type===c.coalesce||X&&(this.type===c.logicalOR||this.type===c.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Rt,o,l,f,m)}return n},de.buildBinary=function(n,o,l,f,m,E){f.type==="PrivateIdentifier"&&this.raise(f.start,"Private identifier can only be left side of binary expression");var O=this.startNodeAt(n,o);return O.left=l,O.operator=m,O.right=f,this.finishNode(O,E?"LogicalExpression":"BinaryExpression")},de.parseMaybeUnary=function(n,o,l,f){var m=this.start,E=this.startLoc,O;if(this.isContextual("await")&&this.canAwait)O=this.parseAwait(f),o=!0;else if(this.type.prefix){var X=this.startNode(),Q=this.type===c.incDec;X.operator=this.value,X.prefix=!0,this.next(),X.argument=this.parseMaybeUnary(null,!0,Q,f),this.checkExpressionErrors(n,!0),Q?this.checkLValSimple(X.argument):this.strict&&X.operator==="delete"&&Ms(X.argument)?this.raiseRecoverable(X.start,"Deleting local variable in strict mode"):X.operator==="delete"&&gs(X.argument)?this.raiseRecoverable(X.start,"Private fields can not be deleted"):o=!0,O=this.finishNode(X,Q?"UpdateExpression":"UnaryExpression")}else if(!o&&this.type===c.privateId)(f||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),O=this.parsePrivateIdent(),this.type!==c._in&&this.unexpected();else{if(O=this.parseExprSubscripts(n,f),this.checkExpressionErrors(n))return O;for(;this.type.postfix&&!this.canInsertSemicolon();){var Te=this.startNodeAt(m,E);Te.operator=this.value,Te.prefix=!1,Te.argument=O,this.checkLValSimple(O),this.next(),O=this.finishNode(Te,"UpdateExpression")}}if(!l&&this.eat(c.starstar))if(o)this.unexpected(this.lastTokStart);else return this.buildBinary(m,E,O,this.parseMaybeUnary(null,!1,!1,f),"**",!1);else return O};function Ms(n){return n.type==="Identifier"||n.type==="ParenthesizedExpression"&&Ms(n.expression)}function gs(n){return n.type==="MemberExpression"&&n.property.type==="PrivateIdentifier"||n.type==="ChainExpression"&&gs(n.expression)||n.type==="ParenthesizedExpression"&&gs(n.expression)}de.parseExprSubscripts=function(n,o){var l=this.start,f=this.startLoc,m=this.parseExprAtom(n,o);if(m.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return m;var E=this.parseSubscripts(m,l,f,!1,o);return n&&E.type==="MemberExpression"&&(n.parenthesizedAssign>=E.start&&(n.parenthesizedAssign=-1),n.parenthesizedBind>=E.start&&(n.parenthesizedBind=-1),n.trailingComma>=E.start&&(n.trailingComma=-1)),E},de.parseSubscripts=function(n,o,l,f,m){for(var E=this.options.ecmaVersion>=8&&n.type==="Identifier"&&n.name==="async"&&this.lastTokEnd===n.end&&!this.canInsertSemicolon()&&n.end-n.start===5&&this.potentialArrowAt===n.start,O=!1;;){var X=this.parseSubscript(n,o,l,f,E,O,m);if(X.optional&&(O=!0),X===n||X.type==="ArrowFunctionExpression"){if(O){var Q=this.startNodeAt(o,l);Q.expression=X,X=this.finishNode(Q,"ChainExpression")}return X}n=X}},de.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(c.arrow)},de.parseSubscriptAsyncArrow=function(n,o,l,f){return this.parseArrowExpression(this.startNodeAt(n,o),l,!0,f)},de.parseSubscript=function(n,o,l,f,m,E,O){var X=this.options.ecmaVersion>=11,Q=X&&this.eat(c.questionDot);f&&Q&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Te=this.eat(c.bracketL);if(Te||Q&&this.type!==c.parenL&&this.type!==c.backQuote||this.eat(c.dot)){var xe=this.startNodeAt(o,l);xe.object=n,Te?(xe.property=this.parseExpression(),this.expect(c.bracketR)):this.type===c.privateId&&n.type!=="Super"?xe.property=this.parsePrivateIdent():xe.property=this.parseIdent(this.options.allowReserved!=="never"),xe.computed=!!Te,X&&(xe.optional=Q),n=this.finishNode(xe,"MemberExpression")}else if(!f&&this.eat(c.parenL)){var tt=new yn,Rt=this.yieldPos,Ri=this.awaitPos,Xs=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var gr=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1,tt);if(m&&!Q&&this.shouldParseAsyncArrow())return this.checkPatternErrors(tt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Rt,this.awaitPos=Ri,this.awaitIdentPos=Xs,this.parseSubscriptAsyncArrow(o,l,gr,O);this.checkExpressionErrors(tt,!0),this.yieldPos=Rt||this.yieldPos,this.awaitPos=Ri||this.awaitPos,this.awaitIdentPos=Xs||this.awaitIdentPos;var Ys=this.startNodeAt(o,l);Ys.callee=n,Ys.arguments=gr,X&&(Ys.optional=Q),n=this.finishNode(Ys,"CallExpression")}else if(this.type===c.backQuote){(Q||E)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Js=this.startNodeAt(o,l);Js.tag=n,Js.quasi=this.parseTemplate({isTagged:!0}),n=this.finishNode(Js,"TaggedTemplateExpression")}return n},de.parseExprAtom=function(n,o,l){this.type===c.slash&&this.readRegexp();var f,m=this.potentialArrowAt===this.start;switch(this.type){case c._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),f=this.startNode(),this.next(),this.type===c.parenL&&!this.allowDirectSuper&&this.raise(f.start,"super() call outside constructor of a subclass"),this.type!==c.dot&&this.type!==c.bracketL&&this.type!==c.parenL&&this.unexpected(),this.finishNode(f,"Super");case c._this:return f=this.startNode(),this.next(),this.finishNode(f,"ThisExpression");case c.name:var E=this.start,O=this.startLoc,X=this.containsEsc,Q=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!X&&Q.name==="async"&&!this.canInsertSemicolon()&&this.eat(c._function))return this.overrideContext(Ue.f_expr),this.parseFunction(this.startNodeAt(E,O),0,!1,!0,o);if(m&&!this.canInsertSemicolon()){if(this.eat(c.arrow))return this.parseArrowExpression(this.startNodeAt(E,O),[Q],!1,o);if(this.options.ecmaVersion>=8&&Q.name==="async"&&this.type===c.name&&!X&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Q=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(c.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(E,O),[Q],!0,o)}return Q;case c.regexp:var Te=this.value;return f=this.parseLiteral(Te.value),f.regex={pattern:Te.pattern,flags:Te.flags},f;case c.num:case c.string:return this.parseLiteral(this.value);case c._null:case c._true:case c._false:return f=this.startNode(),f.value=this.type===c._null?null:this.type===c._true,f.raw=this.type.keyword,this.next(),this.finishNode(f,"Literal");case c.parenL:var xe=this.start,tt=this.parseParenAndDistinguishExpression(m,o);return n&&(n.parenthesizedAssign<0&&!this.isSimpleAssignTarget(tt)&&(n.parenthesizedAssign=xe),n.parenthesizedBind<0&&(n.parenthesizedBind=xe)),tt;case c.bracketL:return f=this.startNode(),this.next(),f.elements=this.parseExprList(c.bracketR,!0,!0,n),this.finishNode(f,"ArrayExpression");case c.braceL:return this.overrideContext(Ue.b_expr),this.parseObj(!1,n);case c._function:return f=this.startNode(),this.next(),this.parseFunction(f,0);case c._class:return this.parseClass(this.startNode(),!1);case c._new:return this.parseNew();case c.backQuote:return this.parseTemplate();case c._import:return this.options.ecmaVersion>=11?this.parseExprImport(l):this.unexpected();default:return this.parseExprAtomDefault()}},de.parseExprAtomDefault=function(){this.unexpected()},de.parseExprImport=function(n){var o=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===c.parenL&&!n)return this.parseDynamicImport(o);if(this.type===c.dot){var l=this.startNodeAt(o.start,o.loc&&o.loc.start);return l.name="import",o.meta=this.finishNode(l,"Identifier"),this.parseImportMeta(o)}else this.unexpected()},de.parseDynamicImport=function(n){if(this.next(),n.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(c.parenR)?n.options=null:(this.expect(c.comma),this.afterTrailingComma(c.parenR)?n.options=null:(n.options=this.parseMaybeAssign(),this.eat(c.parenR)||(this.expect(c.comma),this.afterTrailingComma(c.parenR)||this.unexpected())));else if(!this.eat(c.parenR)){var o=this.start;this.eat(c.comma)&&this.eat(c.parenR)?this.raiseRecoverable(o,"Trailing comma is not allowed in import()"):this.unexpected(o)}return this.finishNode(n,"ImportExpression")},de.parseImportMeta=function(n){this.next();var o=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="meta"&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is 'import.meta'"),o&&this.raiseRecoverable(n.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(n.start,"Cannot use 'import.meta' outside a module"),this.finishNode(n,"MetaProperty")},de.parseLiteral=function(n){var o=this.startNode();return o.value=n,o.raw=this.input.slice(this.start,this.end),o.raw.charCodeAt(o.raw.length-1)===110&&(o.bigint=o.value!=null?o.value.toString():o.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(o,"Literal")},de.parseParenExpression=function(){this.expect(c.parenL);var n=this.parseExpression();return this.expect(c.parenR),n},de.shouldParseArrow=function(n){return!this.canInsertSemicolon()},de.parseParenAndDistinguishExpression=function(n,o){var l=this.start,f=this.startLoc,m,E=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var O=this.start,X=this.startLoc,Q=[],Te=!0,xe=!1,tt=new yn,Rt=this.yieldPos,Ri=this.awaitPos,Xs;for(this.yieldPos=0,this.awaitPos=0;this.type!==c.parenR;)if(Te?Te=!1:this.expect(c.comma),E&&this.afterTrailingComma(c.parenR,!0)){xe=!0;break}else if(this.type===c.ellipsis){Xs=this.start,Q.push(this.parseParenItem(this.parseRestBinding())),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else Q.push(this.parseMaybeAssign(!1,tt,this.parseParenItem));var gr=this.lastTokEnd,Ys=this.lastTokEndLoc;if(this.expect(c.parenR),n&&this.shouldParseArrow(Q)&&this.eat(c.arrow))return this.checkPatternErrors(tt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Rt,this.awaitPos=Ri,this.parseParenArrowList(l,f,Q,o);(!Q.length||xe)&&this.unexpected(this.lastTokStart),Xs&&this.unexpected(Xs),this.checkExpressionErrors(tt,!0),this.yieldPos=Rt||this.yieldPos,this.awaitPos=Ri||this.awaitPos,Q.length>1?(m=this.startNodeAt(O,X),m.expressions=Q,this.finishNodeAt(m,"SequenceExpression",gr,Ys)):m=Q[0]}else m=this.parseParenExpression();if(this.options.preserveParens){var Js=this.startNodeAt(l,f);return Js.expression=m,this.finishNode(Js,"ParenthesizedExpression")}else return m},de.parseParenItem=function(n){return n},de.parseParenArrowList=function(n,o,l,f){return this.parseArrowExpression(this.startNodeAt(n,o),l,!1,f)};var Ci=[];de.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var n=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===c.dot){var o=this.startNodeAt(n.start,n.loc&&n.loc.start);o.name="new",n.meta=this.finishNode(o,"Identifier"),this.next();var l=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="target"&&this.raiseRecoverable(n.property.start,"The only valid meta property for new is 'new.target'"),l&&this.raiseRecoverable(n.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(n.start,"'new.target' can only be used in functions and class static block"),this.finishNode(n,"MetaProperty")}var f=this.start,m=this.startLoc;return n.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),f,m,!0,!1),this.eat(c.parenL)?n.arguments=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1):n.arguments=Ci,this.finishNode(n,"NewExpression")},de.parseTemplateElement=function(n){var o=n.isTagged,l=this.startNode();return this.type===c.invalidTemplate?(o||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),l.value={raw:this.value.replace(/\r\n?/g,` +`),{code:a.slice(0,u+1)+s+a.slice(u+1)+i,mappings:this.shiftMappings(r.mappings,s.length)}}else return{code:s+a+i,mappings:this.shiftMappings(r.mappings,s.length)}}processBalancedCode(){let t=0,s=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(pt.TokenType.braceL)||this.tokens.matches1(pt.TokenType.dollarBraceL))t++;else if(this.tokens.matches1(pt.TokenType.braceR)){if(t===0)return;t--}if(this.tokens.matches1(pt.TokenType.parenL))s++;else if(this.tokens.matches1(pt.TokenType.parenR)){if(s===0)return;s--}this.processToken()}}processToken(){if(this.tokens.matches1(pt.TokenType._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(pt.TokenType._class,pt.TokenType.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=sg.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),s=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;s&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let a=this.tokens.currentToken().contextId;if(a==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(pt.TokenType._class);!this.tokens.matchesContextIdAndLabel(pt.TokenType.braceL,a);)this.processToken();this.processClassBody(t,i);let u=t.staticInitializerNames.map(d=>`${i}.${d}()`);s?this.tokens.appendCode(`, ${u.map(d=>`${d}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${u.map(d=>`${d};`).join(" ")}`)}processClassBody(t,s){let{headerInfo:i,constructorInsertPos:r,constructorInitializerStatements:a,fields:u,instanceInitializerNames:d,rangesToRemove:v}=t,g=0,O=0,p=this.tokens.currentToken().contextId;if(p==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(pt.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let f=a.length+d.length>0;if(r===null&&f){let T=this.makeConstructorInitCode(a,d,s);if(i.hasSuperclass){let x=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${x}) { super(...${x}); ${T}; }`)}else this.tokens.appendCode(`constructor() { ${T}; }`)}for(;!this.tokens.matchesContextIdAndLabel(pt.TokenType.braceR,p);)if(g<u.length&&this.tokens.currentIndex()===u[g].start){let T=!1;for(this.tokens.matches1(pt.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this`):this.tokens.matches1(pt.TokenType.string)||this.tokens.matches1(pt.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this[`),T=!0):this.tokens.copyTokenWithPrefix(`${u[g].initializerName}() {this.`);this.tokens.currentIndex()<u[g].end;)T&&this.tokens.currentIndex()===u[g].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),g++}else if(O<v.length&&this.tokens.currentIndex()>=v[O].start){for(this.tokens.currentIndex()<v[O].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<v[O].end;)this.tokens.removeToken();O++}else this.tokens.currentIndex()===r?(this.tokens.copyToken(),f&&this.tokens.appendCode(`;${this.makeConstructorInitCode(a,d,s)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(pt.TokenType.braceR)}makeConstructorInitCode(t,s,i){return[...t,...s.map(r=>`${i}.prototype.${r}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(pt.TokenType.parenR,pt.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,pt.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(tg.ContextualKeyword._async)&&!this.tokens.matches1(pt.TokenType._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==pt.TokenType.lessThan||!t.isType)return!1;let s=this.tokens.currentIndex()+1;for(;this.tokens.tokens[s].isType;)s++;if(this.tokens.matches1AtIndex(s,pt.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<s;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,s){for(let i=0;i<t.length;i++){let r=t[i];r!==void 0&&(t[i]=r+s)}return t}};Bc.default=Fc});var kf=Z(yr=>{"use strict";yr.__esModule=!0;yr.LinesAndColumns=void 0;var $o=` +`,Tf="\r",yf=function(){function e(t){this.string=t;for(var s=[0],i=0;i<t.length;)switch(t[i]){case $o:i+=$o.length,s.push(i);break;case Tf:i+=Tf.length,t[i]===$o&&(i+=$o.length),s.push(i);break;default:i++;break}this.offsets=s}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var s=0,i=this.offsets;i[s+1]<=t;)s++;var r=t-i[s];return{line:s,column:r}},e.prototype.indexForLocation=function(t){var s=t.line,i=t.column;return s<0||s>=this.offsets.length||i<0||i>this.lengthOfLine(s)?null:this.offsets[s]+i},e.prototype.lengthOfLine=function(t){var s=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-s},e}();yr.LinesAndColumns=yf;yr.default=yf});var vf=Z(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});function Sg(e){return e&&e.__esModule?e:{default:e}}var Ig=kf(),Eg=Sg(Ig),Ag=we();function Pg(e,t){if(t.length===0)return"";let s=Object.keys(t[0]).filter(f=>f!=="type"&&f!=="value"&&f!=="start"&&f!=="end"&&f!=="loc"),i=Object.keys(t[0].type).filter(f=>f!=="label"&&f!=="keyword"),r=["Location","Label","Raw",...s,...i],a=new Eg.default(e),u=[r,...t.map(v)],d=r.map(()=>0);for(let f of u)for(let T=0;T<f.length;T++)d[T]=Math.max(d[T],f[T].length);return u.map(f=>f.map((T,x)=>T.padEnd(d[x])).join(" ")).join(` +`);function v(f){let T=e.slice(f.start,f.end);return[O(f.start,f.end),Ag.formatTokenType.call(void 0,f.type),Ng(String(T),14),...s.map(x=>g(f[x],x)),...i.map(x=>g(f.type[x],x))]}function g(f,T){return f===!0?T:f===!1||f===null?"":String(f)}function O(f,T){return`${p(f)}-${p(T)}`}function p(f){let T=a.locationForIndex(f);return T?`${T.line+1}:${T.column+1}`:"Unknown"}}Vc.default=Pg;function Ng(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var xf=Z(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});function Rg(e){return e&&e.__esModule?e:{default:e}}var zt=we(),Lg=Ji(),Og=Rg(Lg);function Dg(e){let t=new Set;for(let s=0;s<e.tokens.length;s++)e.matches1AtIndex(s,zt.TokenType._import)&&!e.matches3AtIndex(s,zt.TokenType._import,zt.TokenType.name,zt.TokenType.eq)&&Mg(e,s,t);return t}jc.default=Dg;function Mg(e,t,s){t++,!e.matches1AtIndex(t,zt.TokenType.parenL)&&(e.matches1AtIndex(t,zt.TokenType.name)&&(s.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,zt.TokenType.comma)&&t++),e.matches1AtIndex(t,zt.TokenType.star)&&(t+=2,s.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,zt.TokenType.braceL)&&(t++,Fg(e,t,s)))}function Fg(e,t,s){for(;;){if(e.matches1AtIndex(t,zt.TokenType.braceR))return;let i=Og.default.call(void 0,e,t);if(t=i.endIndex,i.isType||s.add(i.rightName),e.matches2AtIndex(t,zt.TokenType.comma,zt.TokenType.braceR))return;if(e.matches1AtIndex(t,zt.TokenType.braceR))return;if(e.matches1AtIndex(t,zt.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var bf=Z(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});function bs(e){return e&&e.__esModule?e:{default:e}}var Bg=U1(),Vg=bs(Bg),jg=ep(),$g=bs(jg),Kg=tp(),qg=ip(),gf=bs(qg),Ug=op(),Hg=bs(Ug),Wg=Cp(),Gg=ec(),zg=Vh(),Xg=bs(zg),Yg=mf(),Jg=bs(Yg),Qg=vf(),Zg=bs(Qg),e_=xf(),t_=bs(e_);function n_(){return"3.32.0"}kr.getVersion=n_;function s_(e,t){Wg.validateOptions.call(void 0,t);try{let s=_f(e,t),r=new Jg.default(s,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),a={code:r.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");a={...a,sourceMap:$g.default.call(void 0,r,t.filePath,t.sourceMapOptions,e,s.tokenProcessor.tokens)}}return a}catch(s){throw t.filePath&&(s.message=`Error transforming ${t.filePath}: ${s.message}`),s}}kr.transform=s_;function i_(e,t){let s=_f(e,t).tokenProcessor.tokens;return Zg.default.call(void 0,e,s)}kr.getFormattedTokens=i_;function _f(e,t){let s=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),r=t.transforms.includes("flow"),a=t.disableESTransforms===!0,u=Gg.parse.call(void 0,e,s,i,r),d=u.tokens,v=u.scopes,g=new Hg.default(e,d),O=new Kg.HelperManager(g),p=new Xg.default(e,d,r,a,O),f=!!t.enableLegacyTypeScriptModuleInterop,T=null;return t.transforms.includes("imports")?(T=new Vg.default(g,p,f,t,t.transforms.includes("typescript"),O),T.preprocessTokens(),gf.default.call(void 0,p,v,T.getGlobalNames()),t.transforms.includes("typescript")&&T.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&gf.default.call(void 0,p,v,t_.default.call(void 0,p)),{tokenProcessor:p,scopes:v,nameManager:g,importProcessor:T,helperManager:O}}});var wf=Z((Ko,Cf)=>{(function(e,t){typeof Ko=="object"&&typeof Cf<"u"?t(Ko):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.acorn={}))})(Ko,function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],i="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",r="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",a={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},u="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",d={5:u,"5module":u+" export import",6:u+" const class extends export import super"},v=/^in(stanceof)?$/,g=new RegExp("["+r+"]"),O=new RegExp("["+r+i+"]");function p(n,o){for(var l=65536,h=0;h<o.length;h+=2){if(l+=o[h],l>n)return!1;if(l+=o[h+1],l>=n)return!0}return!1}function f(n,o){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&g.test(String.fromCharCode(n)):o===!1?!1:p(n,s)}function T(n,o){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&O.test(String.fromCharCode(n)):o===!1?!1:p(n,s)||p(n,t)}var x=function(o,l){l===void 0&&(l={}),this.label=o,this.keyword=l.keyword,this.beforeExpr=!!l.beforeExpr,this.startsExpr=!!l.startsExpr,this.isLoop=!!l.isLoop,this.isAssign=!!l.isAssign,this.prefix=!!l.prefix,this.postfix=!!l.postfix,this.binop=l.binop||null,this.updateContext=null};function w(n,o){return new x(n,{beforeExpr:!0,binop:o})}var S={beforeExpr:!0},A={startsExpr:!0},q={};function M(n,o){return o===void 0&&(o={}),o.keyword=n,q[n]=new x(n,o)}var c={num:new x("num",A),regexp:new x("regexp",A),string:new x("string",A),name:new x("name",A),privateId:new x("privateId",A),eof:new x("eof"),bracketL:new x("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new x("]"),braceL:new x("{",{beforeExpr:!0,startsExpr:!0}),braceR:new x("}"),parenL:new x("(",{beforeExpr:!0,startsExpr:!0}),parenR:new x(")"),comma:new x(",",S),semi:new x(";",S),colon:new x(":",S),dot:new x("."),question:new x("?",S),questionDot:new x("?."),arrow:new x("=>",S),template:new x("template"),invalidTemplate:new x("invalidTemplate"),ellipsis:new x("...",S),backQuote:new x("`",A),dollarBraceL:new x("${",{beforeExpr:!0,startsExpr:!0}),eq:new x("=",{beforeExpr:!0,isAssign:!0}),assign:new x("_=",{beforeExpr:!0,isAssign:!0}),incDec:new x("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new x("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:w("||",1),logicalAND:w("&&",2),bitwiseOR:w("|",3),bitwiseXOR:w("^",4),bitwiseAND:w("&",5),equality:w("==/!=/===/!==",6),relational:w("</>/<=/>=",7),bitShift:w("<</>>/>>>",8),plusMin:new x("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:w("%",10),star:w("*",10),slash:w("/",10),starstar:new x("**",{beforeExpr:!0}),coalesce:w("??",1),_break:M("break"),_case:M("case",S),_catch:M("catch"),_continue:M("continue"),_debugger:M("debugger"),_default:M("default",S),_do:M("do",{isLoop:!0,beforeExpr:!0}),_else:M("else",S),_finally:M("finally"),_for:M("for",{isLoop:!0}),_function:M("function",A),_if:M("if"),_return:M("return",S),_switch:M("switch"),_throw:M("throw",S),_try:M("try"),_var:M("var"),_const:M("const"),_while:M("while",{isLoop:!0}),_with:M("with"),_new:M("new",{beforeExpr:!0,startsExpr:!0}),_this:M("this",A),_super:M("super",A),_class:M("class",A),_extends:M("extends",S),_export:M("export"),_import:M("import",A),_null:M("null",A),_true:M("true",A),_false:M("false",A),_in:M("in",{beforeExpr:!0,binop:7}),_instanceof:M("instanceof",{beforeExpr:!0,binop:7}),_typeof:M("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:M("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:M("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,W=new RegExp(R.source,"g");function Y(n){return n===10||n===13||n===8232||n===8233}function ie(n,o,l){l===void 0&&(l=n.length);for(var h=o;h<l;h++){var m=n.charCodeAt(h);if(Y(m))return h<l-1&&m===13&&n.charCodeAt(h+1)===10?h+2:h+1}return-1}var he=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ae=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,We=Object.prototype,qe=We.hasOwnProperty,Ft=We.toString,Tt=Object.hasOwn||function(n,o){return qe.call(n,o)},xt=Array.isArray||function(n){return Ft.call(n)==="[object Array]"},At=Object.create(null);function it(n){return At[n]||(At[n]=new RegExp("^(?:"+n.replace(/ /g,"|")+")$"))}function rt(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}var wt=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ht=function(o,l){this.line=o,this.column=l};ht.prototype.offset=function(o){return new ht(this.line,this.column+o)};var St=function(o,l,h){this.start=l,this.end=h,o.sourceFile!==null&&(this.source=o.sourceFile)};function Kt(n,o){for(var l=1,h=0;;){var m=ie(n,h,o);if(m<0)return new ht(l,o-h);++l,h=m}}var Pt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},qt=!1;function yn(n){var o={};for(var l in Pt)o[l]=n&&Tt(n,l)?n[l]:Pt[l];if(o.ecmaVersion==="latest"?o.ecmaVersion=1e8:o.ecmaVersion==null?(!qt&&typeof console=="object"&&console.warn&&(qt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. +Defaulting to 2020, but this will stop working in the future.`)),o.ecmaVersion=11):o.ecmaVersion>=2015&&(o.ecmaVersion-=2009),o.allowReserved==null&&(o.allowReserved=o.ecmaVersion<5),(!n||n.allowHashBang==null)&&(o.allowHashBang=o.ecmaVersion>=14),xt(o.onToken)){var h=o.onToken;o.onToken=function(m){return h.push(m)}}if(xt(o.onComment)&&(o.onComment=V(o,o.onComment)),o.sourceType==="commonjs"&&o.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return o}function V(n,o){return function(l,h,m,E,L,X){var Q={type:l?"Block":"Line",value:h,start:m,end:E};n.locations&&(Q.loc=new St(this,L,X)),n.ranges&&(Q.range=[m,E]),o.push(Q)}}var G=1,J=2,re=4,xe=8,fe=16,Ae=32,Pe=64,Oe=128,Xe=256,Ge=512,Ye=1024,ct=G|J|Xe;function yt(n,o){return J|(n?re:0)|(o?xe:0)}var gt=0,Ut=1,et=2,bn=3,Bn=4,is=5,Ue=function(o,l,h){this.options=o=yn(o),this.sourceFile=o.sourceFile,this.keywords=it(d[o.ecmaVersion>=6?6:o.sourceType==="module"?"5module":5]);var m="";o.allowReserved!==!0&&(m=a[o.ecmaVersion>=6?6:o.ecmaVersion===5?5:3],o.sourceType==="module"&&(m+=" await")),this.reservedWords=it(m);var E=(m?m+" ":"")+a.strict;this.reservedWordsStrict=it(E),this.reservedWordsStrictBind=it(E+" "+a.strictBind),this.input=String(l),this.containsEsc=!1,h?(this.pos=h,this.lineStart=this.input.lastIndexOf(` +`,h-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(R).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=o.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&o.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?J:G),this.regexpState=null,this.privateNameStack=[]},kt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ue.prototype.parse=function(){var o=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(o)},kt.inFunction.get=function(){return(this.currentVarScope().flags&J)>0},kt.inGenerator.get=function(){return(this.currentVarScope().flags&xe)>0},kt.inAsync.get=function(){return(this.currentVarScope().flags&re)>0},kt.canAwait.get=function(){for(var n=this.scopeStack.length-1;n>=0;n--){var o=this.scopeStack[n],l=o.flags;if(l&(Xe|Ge))return!1;if(l&J)return(l&re)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},kt.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&G)},kt.allowSuper.get=function(){var n=this.currentThisScope(),o=n.flags;return(o&Pe)>0||this.options.allowSuperOutsideMethod},kt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Oe)>0},kt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},kt.allowNewDotTarget.get=function(){for(var n=this.scopeStack.length-1;n>=0;n--){var o=this.scopeStack[n],l=o.flags;if(l&(Xe|Ge)||l&J&&!(l&fe))return!0}return!1},kt.allowUsing.get=function(){var n=this.currentScope(),o=n.flags;return!(o&Ye||!this.inModule&&o&G)},kt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Xe)>0},Ue.extend=function(){for(var o=[],l=arguments.length;l--;)o[l]=arguments[l];for(var h=this,m=0;m<o.length;m++)h=o[m](h);return h},Ue.parse=function(o,l){return new this(l,o).parse()},Ue.parseExpressionAt=function(o,l,h){var m=new this(h,o,l);return m.nextToken(),m.parseExpression()},Ue.tokenizer=function(o,l){return new this(l,o)},Object.defineProperties(Ue.prototype,kt);var Je=Ue.prototype,Cn=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Je.strictDirective=function(n){if(this.options.ecmaVersion<5)return!1;for(;;){ae.lastIndex=n,n+=ae.exec(this.input)[0].length;var o=Cn.exec(this.input.slice(n));if(!o)return!1;if((o[1]||o[2])==="use strict"){ae.lastIndex=n+o[0].length;var l=ae.exec(this.input),h=l.index+l[0].length,m=this.input.charAt(h);return m===";"||m==="}"||R.test(l[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(m)||m==="!"&&this.input.charAt(h+1)==="=")}n+=o[0].length,ae.lastIndex=n,n+=ae.exec(this.input)[0].length,this.input[n]===";"&&n++}},Je.eat=function(n){return this.type===n?(this.next(),!0):!1},Je.isContextual=function(n){return this.type===c.name&&this.value===n&&!this.containsEsc},Je.eatContextual=function(n){return this.isContextual(n)?(this.next(),!0):!1},Je.expectContextual=function(n){this.eatContextual(n)||this.unexpected()},Je.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))},Je.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Je.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()},Je.afterTrailingComma=function(n,o){if(this.type===n)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),o||this.next(),!0},Je.expect=function(n){this.eat(n)||this.unexpected()},Je.unexpected=function(n){this.raise(n??this.start,"Unexpected token")};var kn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Je.checkPatternErrors=function(n,o){if(n){n.trailingComma>-1&&this.raiseRecoverable(n.trailingComma,"Comma is not permitted after the rest element");var l=o?n.parenthesizedAssign:n.parenthesizedBind;l>-1&&this.raiseRecoverable(l,o?"Assigning to rvalue":"Parenthesized pattern")}},Je.checkExpressionErrors=function(n,o){if(!n)return!1;var l=n.shorthandAssign,h=n.doubleProto;if(!o)return l>=0||h>=0;l>=0&&this.raise(l,"Shorthand property assignments are valid only in destructuring patterns"),h>=0&&this.raiseRecoverable(h,"Redefinition of __proto__ property")},Je.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Je.isSimpleAssignTarget=function(n){return n.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(n.expression):n.type==="Identifier"||n.type==="MemberExpression"};var te=Ue.prototype;te.parseTopLevel=function(n){var o=Object.create(null);for(n.body||(n.body=[]);this.type!==c.eof;){var l=this.parseStatement(null,!0,o);n.body.push(l)}if(this.inModule)for(var h=0,m=Object.keys(this.undefinedExports);h<m.length;h+=1){var E=m[h];this.raiseRecoverable(this.undefinedExports[E].start,"Export '"+E+"' is not defined")}return this.adaptDirectivePrologue(n.body),this.next(),n.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(n,"Program")};var wn={kind:"loop"},bi={kind:"switch"};te.isLet=function(n){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ae.lastIndex=this.pos;var o=ae.exec(this.input),l=this.pos+o[0].length,h=this.fullCharCodeAt(l);if(h===91||h===92)return!0;if(n)return!1;if(h===123)return!0;if(f(h)){var m=l;do l+=h<=65535?1:2;while(T(h=this.fullCharCodeAt(l)));if(h===92)return!0;var E=this.input.slice(m,l);if(!v.test(E))return!0}return!1},te.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ae.lastIndex=this.pos;var n=ae.exec(this.input),o=this.pos+n[0].length,l;return!R.test(this.input.slice(this.pos,o))&&this.input.slice(o,o+8)==="function"&&(o+8===this.input.length||!(T(l=this.fullCharCodeAt(o+8))||l===92))},te.isUsingKeyword=function(n,o){if(this.options.ecmaVersion<17||!this.isContextual(n?"await":"using"))return!1;ae.lastIndex=this.pos;var l=ae.exec(this.input),h=this.pos+l[0].length;if(R.test(this.input.slice(this.pos,h)))return!1;if(n){var m=h+5,E;if(this.input.slice(h,m)!=="using"||m===this.input.length||T(E=this.fullCharCodeAt(m))||E===92)return!1;ae.lastIndex=m;var L=ae.exec(this.input);if(h=m+L[0].length,L&&R.test(this.input.slice(m,h)))return!1}var X=this.fullCharCodeAt(h);if(!f(X)&&X!==92)return!1;var Q=h;do h+=X<=65535?1:2;while(T(X=this.fullCharCodeAt(h)));if(X===92)return!0;var ke=this.input.slice(Q,h);return!(v.test(ke)||o&&ke==="of")},te.isAwaitUsing=function(n){return this.isUsingKeyword(!0,n)},te.isUsing=function(n){return this.isUsingKeyword(!1,n)},te.parseStatement=function(n,o,l){var h=this.type,m=this.startNode(),E;switch(this.isLet(n)&&(h=c._var,E="let"),h){case c._break:case c._continue:return this.parseBreakContinueStatement(m,h.keyword);case c._debugger:return this.parseDebuggerStatement(m);case c._do:return this.parseDoStatement(m);case c._for:return this.parseForStatement(m);case c._function:return n&&(this.strict||n!=="if"&&n!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(m,!1,!n);case c._class:return n&&this.unexpected(),this.parseClass(m,!0);case c._if:return this.parseIfStatement(m);case c._return:return this.parseReturnStatement(m);case c._switch:return this.parseSwitchStatement(m);case c._throw:return this.parseThrowStatement(m);case c._try:return this.parseTryStatement(m);case c._const:case c._var:return E=E||this.value,n&&E!=="var"&&this.unexpected(),this.parseVarStatement(m,E);case c._while:return this.parseWhileStatement(m);case c._with:return this.parseWithStatement(m);case c.braceL:return this.parseBlock(!0,m);case c.semi:return this.parseEmptyStatement(m);case c._export:case c._import:if(this.options.ecmaVersion>10&&h===c._import){ae.lastIndex=this.pos;var L=ae.exec(this.input),X=this.pos+L[0].length,Q=this.input.charCodeAt(X);if(Q===40||Q===46)return this.parseExpressionStatement(m,this.parseExpression())}return this.options.allowImportExportEverywhere||(o||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),h===c._import?this.parseImport(m):this.parseExport(m,l);default:if(this.isAsyncFunction())return n&&this.unexpected(),this.next(),this.parseFunctionStatement(m,!0,!n);var ke=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(ke)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),ke==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(m,!1,ke),this.semicolon(),this.finishNode(m,"VariableDeclaration");var ge=this.value,nt=this.parseExpression();return h===c.name&&nt.type==="Identifier"&&this.eat(c.colon)?this.parseLabeledStatement(m,ge,nt,n):this.parseExpressionStatement(m,nt)}},te.parseBreakContinueStatement=function(n,o){var l=o==="break";this.next(),this.eat(c.semi)||this.insertSemicolon()?n.label=null:this.type!==c.name?this.unexpected():(n.label=this.parseIdent(),this.semicolon());for(var h=0;h<this.labels.length;++h){var m=this.labels[h];if((n.label==null||m.name===n.label.name)&&(m.kind!=null&&(l||m.kind==="loop")||n.label&&l))break}return h===this.labels.length&&this.raise(n.start,"Unsyntactic "+o),this.finishNode(n,l?"BreakStatement":"ContinueStatement")},te.parseDebuggerStatement=function(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")},te.parseDoStatement=function(n){return this.next(),this.labels.push(wn),n.body=this.parseStatement("do"),this.labels.pop(),this.expect(c._while),n.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(c.semi):this.semicolon(),this.finishNode(n,"DoWhileStatement")},te.parseForStatement=function(n){this.next();var o=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(wn),this.enterScope(0),this.expect(c.parenL),this.type===c.semi)return o>-1&&this.unexpected(o),this.parseFor(n,null);var l=this.isLet();if(this.type===c._var||this.type===c._const||l){var h=this.startNode(),m=l?"let":this.value;return this.next(),this.parseVar(h,!0,m),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(n,h,o)}var E=this.isContextual("let"),L=!1,X=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(X){var Q=this.startNode();return this.next(),X==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(Q,!0,X),this.finishNode(Q,"VariableDeclaration"),this.parseForAfterInit(n,Q,o)}var ke=this.containsEsc,ge=new kn,nt=this.start,Lt=o>-1?this.parseExprSubscripts(ge,"await"):this.parseExpression(!0,ge);return this.type===c._in||(L=this.options.ecmaVersion>=6&&this.isContextual("of"))?(o>-1?(this.type===c._in&&this.unexpected(o),n.await=!0):L&&this.options.ecmaVersion>=8&&(Lt.start===nt&&!ke&&Lt.type==="Identifier"&&Lt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(n.await=!1)),E&&L&&this.raise(Lt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Lt,!1,ge),this.checkLValPattern(Lt),this.parseForIn(n,Lt)):(this.checkExpressionErrors(ge,!0),o>-1&&this.unexpected(o),this.parseFor(n,Lt))},te.parseForAfterInit=function(n,o,l){return(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&o.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===c._in?l>-1&&this.unexpected(l):n.await=l>-1),this.parseForIn(n,o)):(l>-1&&this.unexpected(l),this.parseFor(n,o))},te.parseFunctionStatement=function(n,o,l){return this.next(),this.parseFunction(n,Vn|(l?0:Cs),!1,o)},te.parseIfStatement=function(n){return this.next(),n.test=this.parseParenExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(c._else)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")},te.parseReturnStatement=function(n){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(c.semi)||this.insertSemicolon()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")},te.parseSwitchStatement=function(n){this.next(),n.discriminant=this.parseParenExpression(),n.cases=[],this.expect(c.braceL),this.labels.push(bi),this.enterScope(Ye);for(var o,l=!1;this.type!==c.braceR;)if(this.type===c._case||this.type===c._default){var h=this.type===c._case;o&&this.finishNode(o,"SwitchCase"),n.cases.push(o=this.startNode()),o.consequent=[],this.next(),h?o.test=this.parseExpression():(l&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),l=!0,o.test=null),this.expect(c.colon)}else o||this.unexpected(),o.consequent.push(this.parseStatement(null));return this.exitScope(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(n,"SwitchStatement")},te.parseThrowStatement=function(n){return this.next(),R.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")};var Ci=[];te.parseCatchClauseParam=function(){var n=this.parseBindingAtom(),o=n.type==="Identifier";return this.enterScope(o?Ae:0),this.checkLValPattern(n,o?Bn:et),this.expect(c.parenR),n},te.parseTryStatement=function(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.type===c._catch){var o=this.startNode();this.next(),this.eat(c.parenL)?o.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),o.param=null,this.enterScope(0)),o.body=this.parseBlock(!1),this.exitScope(),n.handler=this.finishNode(o,"CatchClause")}return n.finalizer=this.eat(c._finally)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(n.start,"Missing catch or finally clause"),this.finishNode(n,"TryStatement")},te.parseVarStatement=function(n,o,l){return this.next(),this.parseVar(n,!1,o,l),this.semicolon(),this.finishNode(n,"VariableDeclaration")},te.parseWhileStatement=function(n){return this.next(),n.test=this.parseParenExpression(),this.labels.push(wn),n.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(n,"WhileStatement")},te.parseWithStatement=function(n){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),n.object=this.parseParenExpression(),n.body=this.parseStatement("with"),this.finishNode(n,"WithStatement")},te.parseEmptyStatement=function(n){return this.next(),this.finishNode(n,"EmptyStatement")},te.parseLabeledStatement=function(n,o,l,h){for(var m=0,E=this.labels;m<E.length;m+=1){var L=E[m];L.name===o&&this.raise(l.start,"Label '"+o+"' is already declared")}for(var X=this.type.isLoop?"loop":this.type===c._switch?"switch":null,Q=this.labels.length-1;Q>=0;Q--){var ke=this.labels[Q];if(ke.statementStart===n.start)ke.statementStart=this.start,ke.kind=X;else break}return this.labels.push({name:o,kind:X,statementStart:this.start}),n.body=this.parseStatement(h?h.indexOf("label")===-1?h+"label":h:"label"),this.labels.pop(),n.label=l,this.finishNode(n,"LabeledStatement")},te.parseExpressionStatement=function(n,o){return n.expression=o,this.semicolon(),this.finishNode(n,"ExpressionStatement")},te.parseBlock=function(n,o,l){for(n===void 0&&(n=!0),o===void 0&&(o=this.startNode()),o.body=[],this.expect(c.braceL),n&&this.enterScope(0);this.type!==c.braceR;){var h=this.parseStatement(null);o.body.push(h)}return l&&(this.strict=!1),this.next(),n&&this.exitScope(),this.finishNode(o,"BlockStatement")},te.parseFor=function(n,o){return n.init=o,this.expect(c.semi),n.test=this.type===c.semi?null:this.parseExpression(),this.expect(c.semi),n.update=this.type===c.parenR?null:this.parseExpression(),this.expect(c.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,"ForStatement")},te.parseForIn=function(n,o){var l=this.type===c._in;return this.next(),o.type==="VariableDeclaration"&&o.declarations[0].init!=null&&(!l||this.options.ecmaVersion<8||this.strict||o.kind!=="var"||o.declarations[0].id.type!=="Identifier")&&this.raise(o.start,(l?"for-in":"for-of")+" loop variable declaration may not have an initializer"),n.left=o,n.right=l?this.parseExpression():this.parseMaybeAssign(),this.expect(c.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,l?"ForInStatement":"ForOfStatement")},te.parseVar=function(n,o,l,h){for(n.declarations=[],n.kind=l;;){var m=this.startNode();if(this.parseVarId(m,l),this.eat(c.eq)?m.init=this.parseMaybeAssign(o):!h&&l==="const"&&!(this.type===c._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!h&&(l==="using"||l==="await using")&&this.options.ecmaVersion>=17&&this.type!==c._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+l+" declaration"):!h&&m.id.type!=="Identifier"&&!(o&&(this.type===c._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):m.init=null,n.declarations.push(this.finishNode(m,"VariableDeclarator")),!this.eat(c.comma))break}return n},te.parseVarId=function(n,o){n.id=o==="using"||o==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(n.id,o==="var"?Ut:et,!1)};var Vn=1,Cs=2,Bs=4;te.parseFunction=function(n,o,l,h,m){this.initFunction(n),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!h)&&(this.type===c.star&&o&Cs&&this.unexpected(),n.generator=this.eat(c.star)),this.options.ecmaVersion>=8&&(n.async=!!h),o&Vn&&(n.id=o&Bs&&this.type!==c.name?null:this.parseIdent(),n.id&&!(o&Cs)&&this.checkLValSimple(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?Ut:et:bn));var E=this.yieldPos,L=this.awaitPos,X=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yt(n.async,n.generator)),o&Vn||(n.id=this.type===c.name?this.parseIdent():null),this.parseFunctionParams(n),this.parseFunctionBody(n,l,!1,m),this.yieldPos=E,this.awaitPos=L,this.awaitIdentPos=X,this.finishNode(n,o&Vn?"FunctionDeclaration":"FunctionExpression")},te.parseFunctionParams=function(n){this.expect(c.parenL),n.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},te.parseClass=function(n,o){this.next();var l=this.strict;this.strict=!0,this.parseClassId(n,o),this.parseClassSuper(n);var h=this.enterClassBody(),m=this.startNode(),E=!1;for(m.body=[],this.expect(c.braceL);this.type!==c.braceR;){var L=this.parseClassElement(n.superClass!==null);L&&(m.body.push(L),L.type==="MethodDefinition"&&L.kind==="constructor"?(E&&this.raiseRecoverable(L.start,"Duplicate constructor in the same class"),E=!0):L.key&&L.key.type==="PrivateIdentifier"&&wi(h,L)&&this.raiseRecoverable(L.key.start,"Identifier '#"+L.key.name+"' has already been declared"))}return this.strict=l,this.next(),n.body=this.finishNode(m,"ClassBody"),this.exitClassBody(),this.finishNode(n,o?"ClassDeclaration":"ClassExpression")},te.parseClassElement=function(n){if(this.eat(c.semi))return null;var o=this.options.ecmaVersion,l=this.startNode(),h="",m=!1,E=!1,L="method",X=!1;if(this.eatContextual("static")){if(o>=13&&this.eat(c.braceL))return this.parseClassStaticBlock(l),l;this.isClassElementNameStart()||this.type===c.star?X=!0:h="static"}if(l.static=X,!h&&o>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===c.star)&&!this.canInsertSemicolon()?E=!0:h="async"),!h&&(o>=9||!E)&&this.eat(c.star)&&(m=!0),!h&&!E&&!m){var Q=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?L=Q:h=Q)}if(h?(l.computed=!1,l.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),l.key.name=h,this.finishNode(l.key,"Identifier")):this.parseClassElementName(l),o<13||this.type===c.parenL||L!=="method"||m||E){var ke=!l.static&&rs(l,"constructor"),ge=ke&&n;ke&&L!=="method"&&this.raise(l.key.start,"Constructor can't have get/set modifier"),l.kind=ke?"constructor":L,this.parseClassMethod(l,m,E,ge)}else this.parseClassField(l);return l},te.isClassElementNameStart=function(){return this.type===c.name||this.type===c.privateId||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword},te.parseClassElementName=function(n){this.type===c.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),n.computed=!1,n.key=this.parsePrivateIdent()):this.parsePropertyName(n)},te.parseClassMethod=function(n,o,l,h){var m=n.key;n.kind==="constructor"?(o&&this.raise(m.start,"Constructor can't be a generator"),l&&this.raise(m.start,"Constructor can't be an async method")):n.static&&rs(n,"prototype")&&this.raise(m.start,"Classes may not have a static property named prototype");var E=n.value=this.parseMethod(o,l,h);return n.kind==="get"&&E.params.length!==0&&this.raiseRecoverable(E.start,"getter should have no params"),n.kind==="set"&&E.params.length!==1&&this.raiseRecoverable(E.start,"setter should have exactly one param"),n.kind==="set"&&E.params[0].type==="RestElement"&&this.raiseRecoverable(E.params[0].start,"Setter cannot use rest params"),this.finishNode(n,"MethodDefinition")},te.parseClassField=function(n){return rs(n,"constructor")?this.raise(n.key.start,"Classes can't have a field named 'constructor'"):n.static&&rs(n,"prototype")&&this.raise(n.key.start,"Classes can't have a static field named 'prototype'"),this.eat(c.eq)?(this.enterScope(Ge|Pe),n.value=this.parseMaybeAssign(),this.exitScope()):n.value=null,this.semicolon(),this.finishNode(n,"PropertyDefinition")},te.parseClassStaticBlock=function(n){n.body=[];var o=this.labels;for(this.labels=[],this.enterScope(Xe|Pe);this.type!==c.braceR;){var l=this.parseStatement(null);n.body.push(l)}return this.next(),this.exitScope(),this.labels=o,this.finishNode(n,"StaticBlock")},te.parseClassId=function(n,o){this.type===c.name?(n.id=this.parseIdent(),o&&this.checkLValSimple(n.id,et,!1)):(o===!0&&this.unexpected(),n.id=null)},te.parseClassSuper=function(n){n.superClass=this.eat(c._extends)?this.parseExprSubscripts(null,!1):null},te.enterClassBody=function(){var n={declared:Object.create(null),used:[]};return this.privateNameStack.push(n),n.declared},te.exitClassBody=function(){var n=this.privateNameStack.pop(),o=n.declared,l=n.used;if(this.options.checkPrivateFields)for(var h=this.privateNameStack.length,m=h===0?null:this.privateNameStack[h-1],E=0;E<l.length;++E){var L=l[E];Tt(o,L.name)||(m?m.used.push(L):this.raiseRecoverable(L.start,"Private field '#"+L.name+"' must be declared in an enclosing class"))}};function wi(n,o){var l=o.key.name,h=n[l],m="true";return o.type==="MethodDefinition"&&(o.kind==="get"||o.kind==="set")&&(m=(o.static?"s":"i")+o.kind),h==="iget"&&m==="iset"||h==="iset"&&m==="iget"||h==="sget"&&m==="sset"||h==="sset"&&m==="sget"?(n[l]="true",!1):h?!0:(n[l]=m,!1)}function rs(n,o){var l=n.computed,h=n.key;return!l&&(h.type==="Identifier"&&h.name===o||h.type==="Literal"&&h.value===o)}te.parseExportAllDeclaration=function(n,o){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(n.exported=this.parseModuleExportName(),this.checkExport(o,n.exported,this.lastTokStart)):n.exported=null),this.expectContextual("from"),this.type!==c.string&&this.unexpected(),n.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(n,"ExportAllDeclaration")},te.parseExport=function(n,o){if(this.next(),this.eat(c.star))return this.parseExportAllDeclaration(n,o);if(this.eat(c._default))return this.checkExport(o,"default",this.lastTokStart),n.declaration=this.parseExportDefaultDeclaration(),this.finishNode(n,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())n.declaration=this.parseExportDeclaration(n),n.declaration.type==="VariableDeclaration"?this.checkVariableExport(o,n.declaration.declarations):this.checkExport(o,n.declaration.id,n.declaration.id.start),n.specifiers=[],n.source=null,this.options.ecmaVersion>=16&&(n.attributes=[]);else{if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(o),this.eatContextual("from"))this.type!==c.string&&this.unexpected(),n.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause());else{for(var l=0,h=n.specifiers;l<h.length;l+=1){var m=h[l];this.checkUnreserved(m.local),this.checkLocalExport(m.local),m.local.type==="Literal"&&this.raise(m.local.start,"A string literal cannot be used as an exported binding without `from`.")}n.source=null,this.options.ecmaVersion>=16&&(n.attributes=[])}this.semicolon()}return this.finishNode(n,"ExportNamedDeclaration")},te.parseExportDeclaration=function(n){return this.parseStatement(null)},te.parseExportDefaultDeclaration=function(){var n;if(this.type===c._function||(n=this.isAsyncFunction())){var o=this.startNode();return this.next(),n&&this.next(),this.parseFunction(o,Vn|Bs,!1,n)}else if(this.type===c._class){var l=this.startNode();return this.parseClass(l,"nullableID")}else{var h=this.parseMaybeAssign();return this.semicolon(),h}},te.checkExport=function(n,o,l){n&&(typeof o!="string"&&(o=o.type==="Identifier"?o.name:o.value),Tt(n,o)&&this.raiseRecoverable(l,"Duplicate export '"+o+"'"),n[o]=!0)},te.checkPatternExport=function(n,o){var l=o.type;if(l==="Identifier")this.checkExport(n,o,o.start);else if(l==="ObjectPattern")for(var h=0,m=o.properties;h<m.length;h+=1){var E=m[h];this.checkPatternExport(n,E)}else if(l==="ArrayPattern")for(var L=0,X=o.elements;L<X.length;L+=1){var Q=X[L];Q&&this.checkPatternExport(n,Q)}else l==="Property"?this.checkPatternExport(n,o.value):l==="AssignmentPattern"?this.checkPatternExport(n,o.left):l==="RestElement"&&this.checkPatternExport(n,o.argument)},te.checkVariableExport=function(n,o){if(n)for(var l=0,h=o;l<h.length;l+=1){var m=h[l];this.checkPatternExport(n,m.id)}},te.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},te.parseExportSpecifier=function(n){var o=this.startNode();return o.local=this.parseModuleExportName(),o.exported=this.eatContextual("as")?this.parseModuleExportName():o.local,this.checkExport(n,o.exported,o.exported.start),this.finishNode(o,"ExportSpecifier")},te.parseExportSpecifiers=function(n){var o=[],l=!0;for(this.expect(c.braceL);!this.eat(c.braceR);){if(l)l=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;o.push(this.parseExportSpecifier(n))}return o},te.parseImport=function(n){return this.next(),this.type===c.string?(n.specifiers=Ci,n.source=this.parseExprAtom()):(n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.type===c.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(n.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(n,"ImportDeclaration")},te.parseImportSpecifier=function(){var n=this.startNode();return n.imported=this.parseModuleExportName(),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLValSimple(n.local,et),this.finishNode(n,"ImportSpecifier")},te.parseImportDefaultSpecifier=function(){var n=this.startNode();return n.local=this.parseIdent(),this.checkLValSimple(n.local,et),this.finishNode(n,"ImportDefaultSpecifier")},te.parseImportNamespaceSpecifier=function(){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLValSimple(n.local,et),this.finishNode(n,"ImportNamespaceSpecifier")},te.parseImportSpecifiers=function(){var n=[],o=!0;if(this.type===c.name&&(n.push(this.parseImportDefaultSpecifier()),!this.eat(c.comma)))return n;if(this.type===c.star)return n.push(this.parseImportNamespaceSpecifier()),n;for(this.expect(c.braceL);!this.eat(c.braceR);){if(o)o=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;n.push(this.parseImportSpecifier())}return n},te.parseWithClause=function(){var n=[];if(!this.eat(c._with))return n;this.expect(c.braceL);for(var o={},l=!0;!this.eat(c.braceR);){if(l)l=!1;else if(this.expect(c.comma),this.afterTrailingComma(c.braceR))break;var h=this.parseImportAttribute(),m=h.key.type==="Identifier"?h.key.name:h.key.value;Tt(o,m)&&this.raiseRecoverable(h.key.start,"Duplicate attribute key '"+m+"'"),o[m]=!0,n.push(h)}return n},te.parseImportAttribute=function(){var n=this.startNode();return n.key=this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(c.colon),this.type!==c.string&&this.unexpected(),n.value=this.parseExprAtom(),this.finishNode(n,"ImportAttribute")},te.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===c.string){var n=this.parseLiteral(this.value);return wt.test(n.value)&&this.raise(n.start,"An export name cannot include a lone surrogate."),n}return this.parseIdent(!0)},te.adaptDirectivePrologue=function(n){for(var o=0;o<n.length&&this.isDirectiveCandidate(n[o]);++o)n[o].directive=n[o].expression.raw.slice(1,-1)},te.isDirectiveCandidate=function(n){return this.options.ecmaVersion>=5&&n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&(this.input[n.start]==='"'||this.input[n.start]==="'")};var Nt=Ue.prototype;Nt.toAssignable=function(n,o,l){if(this.options.ecmaVersion>=6&&n)switch(n.type){case"Identifier":this.inAsync&&n.name==="await"&&this.raise(n.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern",l&&this.checkPatternErrors(l,!0);for(var h=0,m=n.properties;h<m.length;h+=1){var E=m[h];this.toAssignable(E,o),E.type==="RestElement"&&(E.argument.type==="ArrayPattern"||E.argument.type==="ObjectPattern")&&this.raise(E.argument.start,"Unexpected token")}break;case"Property":n.kind!=="init"&&this.raise(n.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(n.value,o);break;case"ArrayExpression":n.type="ArrayPattern",l&&this.checkPatternErrors(l,!0),this.toAssignableList(n.elements,o);break;case"SpreadElement":n.type="RestElement",this.toAssignable(n.argument,o),n.argument.type==="AssignmentPattern"&&this.raise(n.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":n.operator!=="="&&this.raise(n.left.end,"Only '=' operator can be used for specifying default value."),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,o);break;case"ParenthesizedExpression":this.toAssignable(n.expression,o,l);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!o)break;default:this.raise(n.start,"Assigning to rvalue")}else l&&this.checkPatternErrors(l,!0);return n},Nt.toAssignableList=function(n,o){for(var l=n.length,h=0;h<l;h++){var m=n[h];m&&this.toAssignable(m,o)}if(l){var E=n[l-1];this.options.ecmaVersion===6&&o&&E&&E.type==="RestElement"&&E.argument.type!=="Identifier"&&this.unexpected(E.argument.start)}return n},Nt.parseSpread=function(n){var o=this.startNode();return this.next(),o.argument=this.parseMaybeAssign(!1,n),this.finishNode(o,"SpreadElement")},Nt.parseRestBinding=function(){var n=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==c.name&&this.unexpected(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")},Nt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case c.bracketL:var n=this.startNode();return this.next(),n.elements=this.parseBindingList(c.bracketR,!0,!0),this.finishNode(n,"ArrayPattern");case c.braceL:return this.parseObj(!0)}return this.parseIdent()},Nt.parseBindingList=function(n,o,l,h){for(var m=[],E=!0;!this.eat(n);)if(E?E=!1:this.expect(c.comma),o&&this.type===c.comma)m.push(null);else{if(l&&this.afterTrailingComma(n))break;if(this.type===c.ellipsis){var L=this.parseRestBinding();this.parseBindingListItem(L),m.push(L),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(n);break}else m.push(this.parseAssignableListItem(h))}return m},Nt.parseAssignableListItem=function(n){var o=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(o),o},Nt.parseBindingListItem=function(n){return n},Nt.parseMaybeDefault=function(n,o,l){if(l=l||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(c.eq))return l;var h=this.startNodeAt(n,o);return h.left=l,h.right=this.parseMaybeAssign(),this.finishNode(h,"AssignmentPattern")},Nt.checkLValSimple=function(n,o,l){o===void 0&&(o=gt);var h=o!==gt;switch(n.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(n.name)&&this.raiseRecoverable(n.start,(h?"Binding ":"Assigning to ")+n.name+" in strict mode"),h&&(o===et&&n.name==="let"&&this.raiseRecoverable(n.start,"let is disallowed as a lexically bound name"),l&&(Tt(l,n.name)&&this.raiseRecoverable(n.start,"Argument name clash"),l[n.name]=!0),o!==is&&this.declareName(n.name,o,n.start));break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":h&&this.raiseRecoverable(n.start,"Binding member expression");break;case"ParenthesizedExpression":return h&&this.raiseRecoverable(n.start,"Binding parenthesized expression"),this.checkLValSimple(n.expression,o,l);default:this.raise(n.start,(h?"Binding":"Assigning to")+" rvalue")}},Nt.checkLValPattern=function(n,o,l){switch(o===void 0&&(o=gt),n.type){case"ObjectPattern":for(var h=0,m=n.properties;h<m.length;h+=1){var E=m[h];this.checkLValInnerPattern(E,o,l)}break;case"ArrayPattern":for(var L=0,X=n.elements;L<X.length;L+=1){var Q=X[L];Q&&this.checkLValInnerPattern(Q,o,l)}break;default:this.checkLValSimple(n,o,l)}},Nt.checkLValInnerPattern=function(n,o,l){switch(o===void 0&&(o=gt),n.type){case"Property":this.checkLValInnerPattern(n.value,o,l);break;case"AssignmentPattern":this.checkLValPattern(n.left,o,l);break;case"RestElement":this.checkLValPattern(n.argument,o,l);break;default:this.checkLValPattern(n,o,l)}};var Rt=function(o,l,h,m,E){this.token=o,this.isExpr=!!l,this.preserveSpace=!!h,this.override=m,this.generator=!!E},He={b_stat:new Rt("{",!1),b_expr:new Rt("{",!0),b_tmpl:new Rt("${",!1),p_stat:new Rt("(",!1),p_expr:new Rt("(",!0),q_tmpl:new Rt("`",!0,!0,function(n){return n.tryReadTemplateToken()}),f_stat:new Rt("function",!1),f_expr:new Rt("function",!0),f_expr_gen:new Rt("function",!0,!1,null,!0),f_gen:new Rt("function",!1,!1,null,!0)},Sn=Ue.prototype;Sn.initialContext=function(){return[He.b_stat]},Sn.curContext=function(){return this.context[this.context.length-1]},Sn.braceIsBlock=function(n){var o=this.curContext();return o===He.f_expr||o===He.f_stat?!0:n===c.colon&&(o===He.b_stat||o===He.b_expr)?!o.isExpr:n===c._return||n===c.name&&this.exprAllowed?R.test(this.input.slice(this.lastTokEnd,this.start)):n===c._else||n===c.semi||n===c.eof||n===c.parenR||n===c.arrow?!0:n===c.braceL?o===He.b_stat:n===c._var||n===c._const||n===c.name?!1:!this.exprAllowed},Sn.inGeneratorContext=function(){for(var n=this.context.length-1;n>=1;n--){var o=this.context[n];if(o.token==="function")return o.generator}return!1},Sn.updateContext=function(n){var o,l=this.type;l.keyword&&n===c.dot?this.exprAllowed=!1:(o=l.updateContext)?o.call(this,n):this.exprAllowed=l.beforeExpr},Sn.overrideContext=function(n){this.curContext()!==n&&(this.context[this.context.length-1]=n)},c.parenR.updateContext=c.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var n=this.context.pop();n===He.b_stat&&this.curContext().token==="function"&&(n=this.context.pop()),this.exprAllowed=!n.isExpr},c.braceL.updateContext=function(n){this.context.push(this.braceIsBlock(n)?He.b_stat:He.b_expr),this.exprAllowed=!0},c.dollarBraceL.updateContext=function(){this.context.push(He.b_tmpl),this.exprAllowed=!0},c.parenL.updateContext=function(n){var o=n===c._if||n===c._for||n===c._with||n===c._while;this.context.push(o?He.p_stat:He.p_expr),this.exprAllowed=!0},c.incDec.updateContext=function(){},c._function.updateContext=c._class.updateContext=function(n){n.beforeExpr&&n!==c._else&&!(n===c.semi&&this.curContext()!==He.p_stat)&&!(n===c._return&&R.test(this.input.slice(this.lastTokEnd,this.start)))&&!((n===c.colon||n===c.braceL)&&this.curContext()===He.b_stat)?this.context.push(He.f_expr):this.context.push(He.f_stat),this.exprAllowed=!1},c.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},c.backQuote.updateContext=function(){this.curContext()===He.q_tmpl?this.context.pop():this.context.push(He.q_tmpl),this.exprAllowed=!1},c.star.updateContext=function(n){if(n===c._function){var o=this.context.length-1;this.context[o]===He.f_expr?this.context[o]=He.f_expr_gen:this.context[o]=He.f_gen}this.exprAllowed=!0},c.name.updateContext=function(n){var o=!1;this.options.ecmaVersion>=6&&n!==c.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(o=!0),this.exprAllowed=o};var me=Ue.prototype;me.checkPropClash=function(n,o,l){if(!(this.options.ecmaVersion>=9&&n.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(n.computed||n.method||n.shorthand))){var h=n.key,m;switch(h.type){case"Identifier":m=h.name;break;case"Literal":m=String(h.value);break;default:return}var E=n.kind;if(this.options.ecmaVersion>=6){m==="__proto__"&&E==="init"&&(o.proto&&(l?l.doubleProto<0&&(l.doubleProto=h.start):this.raiseRecoverable(h.start,"Redefinition of __proto__ property")),o.proto=!0);return}m="$"+m;var L=o[m];if(L){var X;E==="init"?X=this.strict&&L.init||L.get||L.set:X=L.init||L[E],X&&this.raiseRecoverable(h.start,"Redefinition of property")}else L=o[m]={init:!1,get:!1,set:!1};L[E]=!0}},me.parseExpression=function(n,o){var l=this.start,h=this.startLoc,m=this.parseMaybeAssign(n,o);if(this.type===c.comma){var E=this.startNodeAt(l,h);for(E.expressions=[m];this.eat(c.comma);)E.expressions.push(this.parseMaybeAssign(n,o));return this.finishNode(E,"SequenceExpression")}return m},me.parseMaybeAssign=function(n,o,l){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(n);this.exprAllowed=!1}var h=!1,m=-1,E=-1,L=-1;o?(m=o.parenthesizedAssign,E=o.trailingComma,L=o.doubleProto,o.parenthesizedAssign=o.trailingComma=-1):(o=new kn,h=!0);var X=this.start,Q=this.startLoc;(this.type===c.parenL||this.type===c.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=n==="await");var ke=this.parseMaybeConditional(n,o);if(l&&(ke=l.call(this,ke,X,Q)),this.type.isAssign){var ge=this.startNodeAt(X,Q);return ge.operator=this.value,this.type===c.eq&&(ke=this.toAssignable(ke,!1,o)),h||(o.parenthesizedAssign=o.trailingComma=o.doubleProto=-1),o.shorthandAssign>=ke.start&&(o.shorthandAssign=-1),this.type===c.eq?this.checkLValPattern(ke):this.checkLValSimple(ke),ge.left=ke,this.next(),ge.right=this.parseMaybeAssign(n),L>-1&&(o.doubleProto=L),this.finishNode(ge,"AssignmentExpression")}else h&&this.checkExpressionErrors(o,!0);return m>-1&&(o.parenthesizedAssign=m),E>-1&&(o.trailingComma=E),ke},me.parseMaybeConditional=function(n,o){var l=this.start,h=this.startLoc,m=this.parseExprOps(n,o);if(this.checkExpressionErrors(o))return m;if(this.eat(c.question)){var E=this.startNodeAt(l,h);return E.test=m,E.consequent=this.parseMaybeAssign(),this.expect(c.colon),E.alternate=this.parseMaybeAssign(n),this.finishNode(E,"ConditionalExpression")}return m},me.parseExprOps=function(n,o){var l=this.start,h=this.startLoc,m=this.parseMaybeUnary(o,!1,!1,n);return this.checkExpressionErrors(o)||m.start===l&&m.type==="ArrowFunctionExpression"?m:this.parseExprOp(m,l,h,-1,n)},me.parseExprOp=function(n,o,l,h,m){var E=this.type.binop;if(E!=null&&(!m||this.type!==c._in)&&E>h){var L=this.type===c.logicalOR||this.type===c.logicalAND,X=this.type===c.coalesce;X&&(E=c.logicalAND.binop);var Q=this.value;this.next();var ke=this.start,ge=this.startLoc,nt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,m),ke,ge,E,m),Lt=this.buildBinary(o,l,n,nt,Q,L||X);return(L&&this.type===c.coalesce||X&&(this.type===c.logicalOR||this.type===c.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Lt,o,l,h,m)}return n},me.buildBinary=function(n,o,l,h,m,E){h.type==="PrivateIdentifier"&&this.raise(h.start,"Private identifier can only be left side of binary expression");var L=this.startNodeAt(n,o);return L.left=l,L.operator=m,L.right=h,this.finishNode(L,E?"LogicalExpression":"BinaryExpression")},me.parseMaybeUnary=function(n,o,l,h){var m=this.start,E=this.startLoc,L;if(this.isContextual("await")&&this.canAwait)L=this.parseAwait(h),o=!0;else if(this.type.prefix){var X=this.startNode(),Q=this.type===c.incDec;X.operator=this.value,X.prefix=!0,this.next(),X.argument=this.parseMaybeUnary(null,!0,Q,h),this.checkExpressionErrors(n,!0),Q?this.checkLValSimple(X.argument):this.strict&&X.operator==="delete"&&Vs(X.argument)?this.raiseRecoverable(X.start,"Deleting local variable in strict mode"):X.operator==="delete"&&ws(X.argument)?this.raiseRecoverable(X.start,"Private fields can not be deleted"):o=!0,L=this.finishNode(X,Q?"UpdateExpression":"UnaryExpression")}else if(!o&&this.type===c.privateId)(h||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),L=this.parsePrivateIdent(),this.type!==c._in&&this.unexpected();else{if(L=this.parseExprSubscripts(n,h),this.checkExpressionErrors(n))return L;for(;this.type.postfix&&!this.canInsertSemicolon();){var ke=this.startNodeAt(m,E);ke.operator=this.value,ke.prefix=!1,ke.argument=L,this.checkLValSimple(L),this.next(),L=this.finishNode(ke,"UpdateExpression")}}if(!l&&this.eat(c.starstar))if(o)this.unexpected(this.lastTokStart);else return this.buildBinary(m,E,L,this.parseMaybeUnary(null,!1,!1,h),"**",!1);else return L};function Vs(n){return n.type==="Identifier"||n.type==="ParenthesizedExpression"&&Vs(n.expression)}function ws(n){return n.type==="MemberExpression"&&n.property.type==="PrivateIdentifier"||n.type==="ChainExpression"&&ws(n.expression)||n.type==="ParenthesizedExpression"&&ws(n.expression)}me.parseExprSubscripts=function(n,o){var l=this.start,h=this.startLoc,m=this.parseExprAtom(n,o);if(m.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return m;var E=this.parseSubscripts(m,l,h,!1,o);return n&&E.type==="MemberExpression"&&(n.parenthesizedAssign>=E.start&&(n.parenthesizedAssign=-1),n.parenthesizedBind>=E.start&&(n.parenthesizedBind=-1),n.trailingComma>=E.start&&(n.trailingComma=-1)),E},me.parseSubscripts=function(n,o,l,h,m){for(var E=this.options.ecmaVersion>=8&&n.type==="Identifier"&&n.name==="async"&&this.lastTokEnd===n.end&&!this.canInsertSemicolon()&&n.end-n.start===5&&this.potentialArrowAt===n.start,L=!1;;){var X=this.parseSubscript(n,o,l,h,E,L,m);if(X.optional&&(L=!0),X===n||X.type==="ArrowFunctionExpression"){if(L){var Q=this.startNodeAt(o,l);Q.expression=X,X=this.finishNode(Q,"ChainExpression")}return X}n=X}},me.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(c.arrow)},me.parseSubscriptAsyncArrow=function(n,o,l,h){return this.parseArrowExpression(this.startNodeAt(n,o),l,!0,h)},me.parseSubscript=function(n,o,l,h,m,E,L){var X=this.options.ecmaVersion>=11,Q=X&&this.eat(c.questionDot);h&&Q&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var ke=this.eat(c.bracketL);if(ke||Q&&this.type!==c.parenL&&this.type!==c.backQuote||this.eat(c.dot)){var ge=this.startNodeAt(o,l);ge.object=n,ke?(ge.property=this.parseExpression(),this.expect(c.bracketR)):this.type===c.privateId&&n.type!=="Super"?ge.property=this.parsePrivateIdent():ge.property=this.parseIdent(this.options.allowReserved!=="never"),ge.computed=!!ke,X&&(ge.optional=Q),n=this.finishNode(ge,"MemberExpression")}else if(!h&&this.eat(c.parenL)){var nt=new kn,Lt=this.yieldPos,Oi=this.awaitPos,Qs=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Sr=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1,nt);if(m&&!Q&&this.shouldParseAsyncArrow())return this.checkPatternErrors(nt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Lt,this.awaitPos=Oi,this.awaitIdentPos=Qs,this.parseSubscriptAsyncArrow(o,l,Sr,L);this.checkExpressionErrors(nt,!0),this.yieldPos=Lt||this.yieldPos,this.awaitPos=Oi||this.awaitPos,this.awaitIdentPos=Qs||this.awaitIdentPos;var Zs=this.startNodeAt(o,l);Zs.callee=n,Zs.arguments=Sr,X&&(Zs.optional=Q),n=this.finishNode(Zs,"CallExpression")}else if(this.type===c.backQuote){(Q||E)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ei=this.startNodeAt(o,l);ei.tag=n,ei.quasi=this.parseTemplate({isTagged:!0}),n=this.finishNode(ei,"TaggedTemplateExpression")}return n},me.parseExprAtom=function(n,o,l){this.type===c.slash&&this.readRegexp();var h,m=this.potentialArrowAt===this.start;switch(this.type){case c._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),h=this.startNode(),this.next(),this.type===c.parenL&&!this.allowDirectSuper&&this.raise(h.start,"super() call outside constructor of a subclass"),this.type!==c.dot&&this.type!==c.bracketL&&this.type!==c.parenL&&this.unexpected(),this.finishNode(h,"Super");case c._this:return h=this.startNode(),this.next(),this.finishNode(h,"ThisExpression");case c.name:var E=this.start,L=this.startLoc,X=this.containsEsc,Q=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!X&&Q.name==="async"&&!this.canInsertSemicolon()&&this.eat(c._function))return this.overrideContext(He.f_expr),this.parseFunction(this.startNodeAt(E,L),0,!1,!0,o);if(m&&!this.canInsertSemicolon()){if(this.eat(c.arrow))return this.parseArrowExpression(this.startNodeAt(E,L),[Q],!1,o);if(this.options.ecmaVersion>=8&&Q.name==="async"&&this.type===c.name&&!X&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Q=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(c.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(E,L),[Q],!0,o)}return Q;case c.regexp:var ke=this.value;return h=this.parseLiteral(ke.value),h.regex={pattern:ke.pattern,flags:ke.flags},h;case c.num:case c.string:return this.parseLiteral(this.value);case c._null:case c._true:case c._false:return h=this.startNode(),h.value=this.type===c._null?null:this.type===c._true,h.raw=this.type.keyword,this.next(),this.finishNode(h,"Literal");case c.parenL:var ge=this.start,nt=this.parseParenAndDistinguishExpression(m,o);return n&&(n.parenthesizedAssign<0&&!this.isSimpleAssignTarget(nt)&&(n.parenthesizedAssign=ge),n.parenthesizedBind<0&&(n.parenthesizedBind=ge)),nt;case c.bracketL:return h=this.startNode(),this.next(),h.elements=this.parseExprList(c.bracketR,!0,!0,n),this.finishNode(h,"ArrayExpression");case c.braceL:return this.overrideContext(He.b_expr),this.parseObj(!1,n);case c._function:return h=this.startNode(),this.next(),this.parseFunction(h,0);case c._class:return this.parseClass(this.startNode(),!1);case c._new:return this.parseNew();case c.backQuote:return this.parseTemplate();case c._import:return this.options.ecmaVersion>=11?this.parseExprImport(l):this.unexpected();default:return this.parseExprAtomDefault()}},me.parseExprAtomDefault=function(){this.unexpected()},me.parseExprImport=function(n){var o=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===c.parenL&&!n)return this.parseDynamicImport(o);if(this.type===c.dot){var l=this.startNodeAt(o.start,o.loc&&o.loc.start);return l.name="import",o.meta=this.finishNode(l,"Identifier"),this.parseImportMeta(o)}else this.unexpected()},me.parseDynamicImport=function(n){if(this.next(),n.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(c.parenR)?n.options=null:(this.expect(c.comma),this.afterTrailingComma(c.parenR)?n.options=null:(n.options=this.parseMaybeAssign(),this.eat(c.parenR)||(this.expect(c.comma),this.afterTrailingComma(c.parenR)||this.unexpected())));else if(!this.eat(c.parenR)){var o=this.start;this.eat(c.comma)&&this.eat(c.parenR)?this.raiseRecoverable(o,"Trailing comma is not allowed in import()"):this.unexpected(o)}return this.finishNode(n,"ImportExpression")},me.parseImportMeta=function(n){this.next();var o=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="meta"&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is 'import.meta'"),o&&this.raiseRecoverable(n.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(n.start,"Cannot use 'import.meta' outside a module"),this.finishNode(n,"MetaProperty")},me.parseLiteral=function(n){var o=this.startNode();return o.value=n,o.raw=this.input.slice(this.start,this.end),o.raw.charCodeAt(o.raw.length-1)===110&&(o.bigint=o.value!=null?o.value.toString():o.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(o,"Literal")},me.parseParenExpression=function(){this.expect(c.parenL);var n=this.parseExpression();return this.expect(c.parenR),n},me.shouldParseArrow=function(n){return!this.canInsertSemicolon()},me.parseParenAndDistinguishExpression=function(n,o){var l=this.start,h=this.startLoc,m,E=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var L=this.start,X=this.startLoc,Q=[],ke=!0,ge=!1,nt=new kn,Lt=this.yieldPos,Oi=this.awaitPos,Qs;for(this.yieldPos=0,this.awaitPos=0;this.type!==c.parenR;)if(ke?ke=!1:this.expect(c.comma),E&&this.afterTrailingComma(c.parenR,!0)){ge=!0;break}else if(this.type===c.ellipsis){Qs=this.start,Q.push(this.parseParenItem(this.parseRestBinding())),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else Q.push(this.parseMaybeAssign(!1,nt,this.parseParenItem));var Sr=this.lastTokEnd,Zs=this.lastTokEndLoc;if(this.expect(c.parenR),n&&this.shouldParseArrow(Q)&&this.eat(c.arrow))return this.checkPatternErrors(nt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Lt,this.awaitPos=Oi,this.parseParenArrowList(l,h,Q,o);(!Q.length||ge)&&this.unexpected(this.lastTokStart),Qs&&this.unexpected(Qs),this.checkExpressionErrors(nt,!0),this.yieldPos=Lt||this.yieldPos,this.awaitPos=Oi||this.awaitPos,Q.length>1?(m=this.startNodeAt(L,X),m.expressions=Q,this.finishNodeAt(m,"SequenceExpression",Sr,Zs)):m=Q[0]}else m=this.parseParenExpression();if(this.options.preserveParens){var ei=this.startNodeAt(l,h);return ei.expression=m,this.finishNode(ei,"ParenthesizedExpression")}else return m},me.parseParenItem=function(n){return n},me.parseParenArrowList=function(n,o,l,h){return this.parseArrowExpression(this.startNodeAt(n,o),l,!1,h)};var Si=[];me.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var n=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===c.dot){var o=this.startNodeAt(n.start,n.loc&&n.loc.start);o.name="new",n.meta=this.finishNode(o,"Identifier"),this.next();var l=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="target"&&this.raiseRecoverable(n.property.start,"The only valid meta property for new is 'new.target'"),l&&this.raiseRecoverable(n.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(n.start,"'new.target' can only be used in functions and class static block"),this.finishNode(n,"MetaProperty")}var h=this.start,m=this.startLoc;return n.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),h,m,!0,!1),this.eat(c.parenL)?n.arguments=this.parseExprList(c.parenR,this.options.ecmaVersion>=8,!1):n.arguments=Si,this.finishNode(n,"NewExpression")},me.parseTemplateElement=function(n){var o=n.isTagged,l=this.startNode();return this.type===c.invalidTemplate?(o||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),l.value={raw:this.value.replace(/\r\n?/g,` `),cooked:null}):l.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),l.tail=this.type===c.backQuote,this.finishNode(l,"TemplateElement")},de.parseTemplate=function(n){n===void 0&&(n={});var o=n.isTagged;o===void 0&&(o=!1);var l=this.startNode();this.next(),l.expressions=[];var f=this.parseTemplateElement({isTagged:o});for(l.quasis=[f];!f.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),l.expressions.push(this.parseExpression()),this.expect(c.braceR),l.quasis.push(f=this.parseTemplateElement({isTagged:o}));return this.next(),this.finishNode(l,"TemplateLiteral")},de.isAsyncProp=function(n){return!n.computed&&n.key.type==="Identifier"&&n.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))},de.parseObj=function(n,o){var l=this.startNode(),f=!0,m={};for(l.properties=[],this.next();!this.eat(c.braceR);){if(f)f=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var E=this.parseProperty(n,o);n||this.checkPropClash(E,m,o),l.properties.push(E)}return this.finishNode(l,n?"ObjectPattern":"ObjectExpression")},de.parseProperty=function(n,o){var l=this.startNode(),f,m,E,O;if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return n?(l.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(l,"RestElement")):(l.argument=this.parseMaybeAssign(!1,o),this.type===c.comma&&o&&o.trailingComma<0&&(o.trailingComma=this.start),this.finishNode(l,"SpreadElement"));this.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(n||o)&&(E=this.start,O=this.startLoc),n||(f=this.eat(c.star)));var X=this.containsEsc;return this.parsePropertyName(l),!n&&!X&&this.options.ecmaVersion>=8&&!f&&this.isAsyncProp(l)?(m=!0,f=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(l)):m=!1,this.parsePropertyValue(l,n,f,m,E,O,o,X),this.finishNode(l,"Property")},de.parseGetterSetter=function(n){var o=n.key.name;this.parsePropertyName(n),n.value=this.parseMethod(!1),n.kind=o;var l=n.kind==="get"?0:1;if(n.value.params.length!==l){var f=n.value.start;n.kind==="get"?this.raiseRecoverable(f,"getter should have no params"):this.raiseRecoverable(f,"setter should have exactly one param")}else n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")},de.parsePropertyValue=function(n,o,l,f,m,E,O,X){(l||f)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(n.value=o?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,O),n.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(o&&this.unexpected(),n.method=!0,n.value=this.parseMethod(l,f),n.kind="init"):!o&&!X&&this.options.ecmaVersion>=5&&!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.type!==c.comma&&this.type!==c.braceR&&this.type!==c.eq?((l||f)&&this.unexpected(),this.parseGetterSetter(n)):this.options.ecmaVersion>=6&&!n.computed&&n.key.type==="Identifier"?((l||f)&&this.unexpected(),this.checkUnreserved(n.key),n.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=m),o?n.value=this.parseMaybeDefault(m,E,this.copyNode(n.key)):this.type===c.eq&&O?(O.shorthandAssign<0&&(O.shorthandAssign=this.start),n.value=this.parseMaybeDefault(m,E,this.copyNode(n.key))):n.value=this.copyNode(n.key),n.kind="init",n.shorthand=!0):this.unexpected()},de.parsePropertyName=function(n){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return n.computed=!0,n.key=this.parseMaybeAssign(),this.expect(c.bracketR),n.key;n.computed=!1}return n.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},de.initFunction=function(n){n.id=null,this.options.ecmaVersion>=6&&(n.generator=n.expression=!1),this.options.ecmaVersion>=8&&(n.async=!1)},de.parseMethod=function(n,o,l){var f=this.startNode(),m=this.yieldPos,E=this.awaitPos,O=this.awaitIdentPos;return this.initFunction(f),this.options.ecmaVersion>=6&&(f.generator=n),this.options.ecmaVersion>=8&&(f.async=!!o),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yt(o,f.generator)|Ae|(l?Le:0)),this.expect(c.parenL),f.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(f,!1,!0,!1),this.yieldPos=m,this.awaitPos=E,this.awaitIdentPos=O,this.finishNode(f,"FunctionExpression")},de.parseArrowExpression=function(n,o,l,f){var m=this.yieldPos,E=this.awaitPos,O=this.awaitIdentPos;return this.enterScope(yt(l,!1)|he),this.initFunction(n),this.options.ecmaVersion>=8&&(n.async=!!l),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,n.params=this.toAssignableList(o,!0),this.parseFunctionBody(n,!0,!1,f),this.yieldPos=m,this.awaitPos=E,this.awaitIdentPos=O,this.finishNode(n,"ArrowFunctionExpression")},de.parseFunctionBody=function(n,o,l,f){var m=o&&this.type!==c.braceL,E=this.strict,O=!1;if(m)n.body=this.parseMaybeAssign(f),n.expression=!0,this.checkParams(n,!1);else{var X=this.options.ecmaVersion>=7&&!this.isSimpleParamList(n.params);(!E||X)&&(O=this.strictDirective(this.end),O&&X&&this.raiseRecoverable(n.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Q=this.labels;this.labels=[],O&&(this.strict=!0),this.checkParams(n,!E&&!O&&!o&&!l&&this.isSimpleParamList(n.params)),this.strict&&n.id&&this.checkLValSimple(n.id,Zn),n.body=this.parseBlock(!1,void 0,O&&!E),n.expression=!1,this.adaptDirectivePrologue(n.body.body),this.labels=Q}this.exitScope()},de.isSimpleParamList=function(n){for(var o=0,l=n;o<l.length;o+=1){var f=l[o];if(f.type!=="Identifier")return!1}return!0},de.checkParams=function(n,o){for(var l=Object.create(null),f=0,m=n.params;f<m.length;f+=1){var E=m[f];this.checkLValInnerPattern(E,qt,o?null:l)}},de.parseExprList=function(n,o,l,f){for(var m=[],E=!0;!this.eat(n);){if(E)E=!1;else if(this.expect(c.comma),o&&this.afterTrailingComma(n))break;var O=void 0;l&&this.type===c.comma?O=null:this.type===c.ellipsis?(O=this.parseSpread(f),f&&this.type===c.comma&&f.trailingComma<0&&(f.trailingComma=this.start)):O=this.parseMaybeAssign(!1,f),m.push(O)}return m},de.checkUnreserved=function(n){var o=n.start,l=n.end,f=n.name;if(this.inGenerator&&f==="yield"&&this.raiseRecoverable(o,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&f==="await"&&this.raiseRecoverable(o,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags<)&&f==="arguments"&&this.raiseRecoverable(o,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(f==="arguments"||f==="await")&&this.raise(o,"Cannot use "+f+" in class static initialization block"),this.keywords.test(f)&&this.raise(o,"Unexpected keyword '"+f+"'"),!(this.options.ecmaVersion<6&&this.input.slice(o,l).indexOf("\\")!==-1)){var m=this.strict?this.reservedWordsStrict:this.reservedWords;m.test(f)&&(!this.inAsync&&f==="await"&&this.raiseRecoverable(o,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(o,"The keyword '"+f+"' is reserved"))}},de.parseIdent=function(n){var o=this.parseIdentNode();return this.next(!!n),this.finishNode(o,"Identifier"),n||(this.checkUnreserved(o),o.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=o.start)),o},de.parseIdentNode=function(){var n=this.startNode();return this.type===c.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,(n.name==="class"||n.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=c.name):this.unexpected(),n},de.parsePrivateIdent=function(){var n=this.startNode();return this.type===c.privateId?n.name=this.value:this.unexpected(),this.next(),this.finishNode(n,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(n)),n},de.parseYield=function(n){this.yieldPos||(this.yieldPos=this.start);var o=this.startNode();return this.next(),this.type===c.semi||this.canInsertSemicolon()||this.type!==c.star&&!this.type.startsExpr?(o.delegate=!1,o.argument=null):(o.delegate=this.eat(c.star),o.argument=this.parseMaybeAssign(n)),this.finishNode(o,"YieldExpression")},de.parseAwait=function(n){this.awaitPos||(this.awaitPos=this.start);var o=this.startNode();return this.next(),o.argument=this.parseMaybeUnary(null,!0,!1,n),this.finishNode(o,"AwaitExpression")};var ts=Ke.prototype;ts.raise=function(n,o){var l=jt(this.input,n);o+=" ("+l.line+":"+l.column+")",this.sourceFile&&(o+=" in "+this.sourceFile);var f=new SyntaxError(o);throw f.pos=n,f.loc=l,f.raisedAt=this.pos,f},ts.raiseRecoverable=ts.raise,ts.curPosition=function(){if(this.options.locations)return new pt(this.curLine,this.pos-this.lineStart)};var nn=Ke.prototype,wi=function(o){this.flags=o,this.var=[],this.lexical=[],this.functions=[]};nn.enterScope=function(n){this.scopeStack.push(new wi(n))},nn.exitScope=function(){this.scopeStack.pop()},nn.treatFunctionsAsVarInScope=function(n){return n.flags&J||!this.inModule&&n.flags&G},nn.declareName=function(n,o,l){var f=!1;if(o===Ze){var m=this.currentScope();f=m.lexical.indexOf(n)>-1||m.functions.indexOf(n)>-1||m.var.indexOf(n)>-1,m.lexical.push(n),this.inModule&&m.flags&G&&delete this.undefinedExports[n]}else if(o===Dn){var E=this.currentScope();E.lexical.push(n)}else if(o===_n){var O=this.currentScope();this.treatFunctionsAsVar?f=O.lexical.indexOf(n)>-1:f=O.lexical.indexOf(n)>-1||O.var.indexOf(n)>-1,O.functions.push(n)}else for(var X=this.scopeStack.length-1;X>=0;--X){var Q=this.scopeStack[X];if(Q.lexical.indexOf(n)>-1&&!(Q.flags&Ee&&Q.lexical[0]===n)||!this.treatFunctionsAsVarInScope(Q)&&Q.functions.indexOf(n)>-1){f=!0;break}if(Q.var.push(n),this.inModule&&Q.flags&G&&delete this.undefinedExports[n],Q.flags<)break}f&&this.raiseRecoverable(l,"Identifier '"+n+"' has already been declared")},nn.checkLocalExport=function(n){this.scopeStack[0].lexical.indexOf(n.name)===-1&&this.scopeStack[0].var.indexOf(n.name)===-1&&(this.undefinedExports[n.name]=n)},nn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},nn.currentVarScope=function(){for(var n=this.scopeStack.length-1;;n--){var o=this.scopeStack[n];if(o.flags&(lt|We|ze))return o}},nn.currentThisScope=function(){for(var n=this.scopeStack.length-1;;n--){var o=this.scopeStack[n];if(o.flags&(lt|We|ze)&&!(o.flags&he))return o}};var Fn=function(o,l,f){this.type="",this.start=l,this.end=0,o.options.locations&&(this.loc=new wt(o,f)),o.options.directSourceFile&&(this.sourceFile=o.options.directSourceFile),o.options.ranges&&(this.range=[l,0])},Bn=Ke.prototype;Bn.startNode=function(){return new Fn(this,this.start,this.startLoc)},Bn.startNodeAt=function(n,o){return new Fn(this,n,o)};function Fs(n,o,l,f){return n.type=o,n.end=l,this.options.locations&&(n.loc.end=f),this.options.ranges&&(n.range[1]=l),n}Bn.finishNode=function(n,o){return Fs.call(this,n,o,this.lastTokEnd,this.lastTokEndLoc)},Bn.finishNodeAt=function(n,o,l,f){return Fs.call(this,n,o,l,f)},Bn.copyNode=function(n){var o=new Fn(this,n.start,this.startLoc);for(var l in n)o[l]=n[l];return o};var Si="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",Bs="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Vs=Bs+" Extended_Pictographic",js=Vs,$s=js+" EBase EComp EMod EPres ExtPict",qs=$s,Ii=qs,Ei={9:Bs,10:Vs,11:js,12:$s,13:qs,14:Ii},Ai="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Pi={9:"",10:"",11:"",12:"",13:"",14:Ai},Ks="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Us="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Hs=Us+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ws=Hs+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Gs=Ws+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",mr=Gs+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",jo=mr+" "+Si,$o={9:Us,10:Hs,11:Ws,12:Gs,13:mr,14:jo},yr={};function qo(n){var o=yr[n]={binary:st(Ei[n]+" "+Ks),binaryOfStrings:st(Pi[n]),nonBinary:{General_Category:st(Ks),Script:st($o[n])}};o.nonBinary.Script_Extensions=o.nonBinary.Script,o.nonBinary.gc=o.nonBinary.General_Category,o.nonBinary.sc=o.nonBinary.Script,o.nonBinary.scx=o.nonBinary.Script_Extensions}for(var Ni=0,Tr=[9,10,11,12,13,14];Ni<Tr.length;Ni+=1){var Ko=Tr[Ni];qo(Ko)}var le=Ke.prototype,zs=function(o,l){this.parent=o,this.base=l||this};zs.prototype.separatedFrom=function(o){for(var l=this;l;l=l.parent)for(var f=o;f;f=f.parent)if(l.base===f.base&&l!==f)return!0;return!1},zs.prototype.sibling=function(){return new zs(this.parent,this.base)};var sn=function(o){this.parser=o,this.validFlags="gim"+(o.options.ecmaVersion>=6?"uy":"")+(o.options.ecmaVersion>=9?"s":"")+(o.options.ecmaVersion>=13?"d":"")+(o.options.ecmaVersion>=15?"v":""),this.unicodeProperties=yr[o.options.ecmaVersion>=14?14:o.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};sn.prototype.reset=function(o,l,f){var m=f.indexOf("v")!==-1,E=f.indexOf("u")!==-1;this.start=o|0,this.source=l+"",this.flags=f,m&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=E&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=E&&this.parser.options.ecmaVersion>=9)},sn.prototype.raise=function(o){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+o)},sn.prototype.at=function(o,l){l===void 0&&(l=!1);var f=this.source,m=f.length;if(o>=m)return-1;var E=f.charCodeAt(o);if(!(l||this.switchU)||E<=55295||E>=57344||o+1>=m)return E;var O=f.charCodeAt(o+1);return O>=56320&&O<=57343?(E<<10)+O-56613888:E},sn.prototype.nextIndex=function(o,l){l===void 0&&(l=!1);var f=this.source,m=f.length;if(o>=m)return m;var E=f.charCodeAt(o),O;return!(l||this.switchU)||E<=55295||E>=57344||o+1>=m||(O=f.charCodeAt(o+1))<56320||O>57343?o+1:o+2},sn.prototype.current=function(o){return o===void 0&&(o=!1),this.at(this.pos,o)},sn.prototype.lookahead=function(o){return o===void 0&&(o=!1),this.at(this.nextIndex(this.pos,o),o)},sn.prototype.advance=function(o){o===void 0&&(o=!1),this.pos=this.nextIndex(this.pos,o)},sn.prototype.eat=function(o,l){return l===void 0&&(l=!1),this.current(l)===o?(this.advance(l),!0):!1},sn.prototype.eatChars=function(o,l){l===void 0&&(l=!1);for(var f=this.pos,m=0,E=o;m<E.length;m+=1){var O=E[m],X=this.at(f,l);if(X===-1||X!==O)return!1;f=this.nextIndex(f,l)}return this.pos=f,!0},le.validateRegExpFlags=function(n){for(var o=n.validFlags,l=n.flags,f=!1,m=!1,E=0;E<l.length;E++){var O=l.charAt(E);o.indexOf(O)===-1&&this.raise(n.start,"Invalid regular expression flag"),l.indexOf(O,E+1)>-1&&this.raise(n.start,"Duplicate regular expression flag"),O==="u"&&(f=!0),O==="v"&&(m=!0)}this.options.ecmaVersion>=15&&f&&m&&this.raise(n.start,"Invalid regular expression flag")};function Uo(n){for(var o in n)return!0;return!1}le.validateRegExpPattern=function(n){this.regexp_pattern(n),!n.switchN&&this.options.ecmaVersion>=9&&Uo(n.groupNames)&&(n.switchN=!0,this.regexp_pattern(n))},le.regexp_pattern=function(n){n.pos=0,n.lastIntValue=0,n.lastStringValue="",n.lastAssertionIsQuantifiable=!1,n.numCapturingParens=0,n.maxBackReference=0,n.groupNames=Object.create(null),n.backReferenceNames.length=0,n.branchID=null,this.regexp_disjunction(n),n.pos!==n.source.length&&(n.eat(41)&&n.raise("Unmatched ')'"),(n.eat(93)||n.eat(125))&&n.raise("Lone quantifier brackets")),n.maxBackReference>n.numCapturingParens&&n.raise("Invalid escape");for(var o=0,l=n.backReferenceNames;o<l.length;o+=1){var f=l[o];n.groupNames[f]||n.raise("Invalid named capture referenced")}},le.regexp_disjunction=function(n){var o=this.options.ecmaVersion>=16;for(o&&(n.branchID=new zs(n.branchID,null)),this.regexp_alternative(n);n.eat(124);)o&&(n.branchID=n.branchID.sibling()),this.regexp_alternative(n);o&&(n.branchID=n.branchID.parent),this.regexp_eatQuantifier(n,!0)&&n.raise("Nothing to repeat"),n.eat(123)&&n.raise("Lone quantifier brackets")},le.regexp_alternative=function(n){for(;n.pos<n.source.length&&this.regexp_eatTerm(n););},le.regexp_eatTerm=function(n){return this.regexp_eatAssertion(n)?(n.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(n)&&n.switchU&&n.raise("Invalid quantifier"),!0):(n.switchU?this.regexp_eatAtom(n):this.regexp_eatExtendedAtom(n))?(this.regexp_eatQuantifier(n),!0):!1},le.regexp_eatAssertion=function(n){var o=n.pos;if(n.lastAssertionIsQuantifiable=!1,n.eat(94)||n.eat(36))return!0;if(n.eat(92)){if(n.eat(66)||n.eat(98))return!0;n.pos=o}if(n.eat(40)&&n.eat(63)){var l=!1;if(this.options.ecmaVersion>=9&&(l=n.eat(60)),n.eat(61)||n.eat(33))return this.regexp_disjunction(n),n.eat(41)||n.raise("Unterminated group"),n.lastAssertionIsQuantifiable=!l,!0}return n.pos=o,!1},le.regexp_eatQuantifier=function(n,o){return o===void 0&&(o=!1),this.regexp_eatQuantifierPrefix(n,o)?(n.eat(63),!0):!1},le.regexp_eatQuantifierPrefix=function(n,o){return n.eat(42)||n.eat(43)||n.eat(63)||this.regexp_eatBracedQuantifier(n,o)},le.regexp_eatBracedQuantifier=function(n,o){var l=n.pos;if(n.eat(123)){var f=0,m=-1;if(this.regexp_eatDecimalDigits(n)&&(f=n.lastIntValue,n.eat(44)&&this.regexp_eatDecimalDigits(n)&&(m=n.lastIntValue),n.eat(125)))return m!==-1&&m<f&&!o&&n.raise("numbers out of order in {} quantifier"),!0;n.switchU&&!o&&n.raise("Incomplete quantifier"),n.pos=l}return!1},le.regexp_eatAtom=function(n){return this.regexp_eatPatternCharacters(n)||n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)},le.regexp_eatReverseSolidusAtomEscape=function(n){var o=n.pos;if(n.eat(92)){if(this.regexp_eatAtomEscape(n))return!0;n.pos=o}return!1},le.regexp_eatUncapturingGroup=function(n){var o=n.pos;if(n.eat(40)){if(n.eat(63)){if(this.options.ecmaVersion>=16){var l=this.regexp_eatModifiers(n),f=n.eat(45);if(l||f){for(var m=0;m<l.length;m++){var E=l.charAt(m);l.indexOf(E,m+1)>-1&&n.raise("Duplicate regular expression modifiers")}if(f){var O=this.regexp_eatModifiers(n);!l&&!O&&n.current()===58&&n.raise("Invalid regular expression modifiers");for(var X=0;X<O.length;X++){var Q=O.charAt(X);(O.indexOf(Q,X+1)>-1||l.indexOf(Q)>-1)&&n.raise("Duplicate regular expression modifiers")}}}}if(n.eat(58)){if(this.regexp_disjunction(n),n.eat(41))return!0;n.raise("Unterminated group")}}n.pos=o}return!1},le.regexp_eatCapturingGroup=function(n){if(n.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(n):n.current()===63&&n.raise("Invalid group"),this.regexp_disjunction(n),n.eat(41))return n.numCapturingParens+=1,!0;n.raise("Unterminated group")}return!1},le.regexp_eatModifiers=function(n){for(var o="",l=0;(l=n.current())!==-1&&Ho(l);)o+=it(l),n.advance();return o};function Ho(n){return n===105||n===109||n===115}le.regexp_eatExtendedAtom=function(n){return n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)||this.regexp_eatInvalidBracedQuantifier(n)||this.regexp_eatExtendedPatternCharacter(n)},le.regexp_eatInvalidBracedQuantifier=function(n){return this.regexp_eatBracedQuantifier(n,!0)&&n.raise("Nothing to repeat"),!1},le.regexp_eatSyntaxCharacter=function(n){var o=n.current();return kr(o)?(n.lastIntValue=o,n.advance(),!0):!1};function kr(n){return n===36||n>=40&&n<=43||n===46||n===63||n>=91&&n<=94||n>=123&&n<=125}le.regexp_eatPatternCharacters=function(n){for(var o=n.pos,l=0;(l=n.current())!==-1&&!kr(l);)n.advance();return n.pos!==o},le.regexp_eatExtendedPatternCharacter=function(n){var o=n.current();return o!==-1&&o!==36&&!(o>=40&&o<=43)&&o!==46&&o!==63&&o!==91&&o!==94&&o!==124?(n.advance(),!0):!1},le.regexp_groupSpecifier=function(n){if(n.eat(63)){this.regexp_eatGroupName(n)||n.raise("Invalid group");var o=this.options.ecmaVersion>=16,l=n.groupNames[n.lastStringValue];if(l)if(o)for(var f=0,m=l;f<m.length;f+=1){var E=m[f];E.separatedFrom(n.branchID)||n.raise("Duplicate capture group name")}else n.raise("Duplicate capture group name");o?(l||(n.groupNames[n.lastStringValue]=[])).push(n.branchID):n.groupNames[n.lastStringValue]=!0}},le.regexp_eatGroupName=function(n){if(n.lastStringValue="",n.eat(60)){if(this.regexp_eatRegExpIdentifierName(n)&&n.eat(62))return!0;n.raise("Invalid capture group name")}return!1},le.regexp_eatRegExpIdentifierName=function(n){if(n.lastStringValue="",this.regexp_eatRegExpIdentifierStart(n)){for(n.lastStringValue+=it(n.lastIntValue);this.regexp_eatRegExpIdentifierPart(n);)n.lastStringValue+=it(n.lastIntValue);return!0}return!1},le.regexp_eatRegExpIdentifierStart=function(n){var o=n.pos,l=this.options.ecmaVersion>=11,f=n.current(l);return n.advance(l),f===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,l)&&(f=n.lastIntValue),Wo(f)?(n.lastIntValue=f,!0):(n.pos=o,!1)};function Wo(n){return h(n,!0)||n===36||n===95}le.regexp_eatRegExpIdentifierPart=function(n){var o=n.pos,l=this.options.ecmaVersion>=11,f=n.current(l);return n.advance(l),f===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,l)&&(f=n.lastIntValue),Go(f)?(n.lastIntValue=f,!0):(n.pos=o,!1)};function Go(n){return T(n,!0)||n===36||n===95||n===8204||n===8205}le.regexp_eatAtomEscape=function(n){return this.regexp_eatBackReference(n)||this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)||n.switchN&&this.regexp_eatKGroupName(n)?!0:(n.switchU&&(n.current()===99&&n.raise("Invalid unicode escape"),n.raise("Invalid escape")),!1)},le.regexp_eatBackReference=function(n){var o=n.pos;if(this.regexp_eatDecimalEscape(n)){var l=n.lastIntValue;if(n.switchU)return l>n.maxBackReference&&(n.maxBackReference=l),!0;if(l<=n.numCapturingParens)return!0;n.pos=o}return!1},le.regexp_eatKGroupName=function(n){if(n.eat(107)){if(this.regexp_eatGroupName(n))return n.backReferenceNames.push(n.lastStringValue),!0;n.raise("Invalid named reference")}return!1},le.regexp_eatCharacterEscape=function(n){return this.regexp_eatControlEscape(n)||this.regexp_eatCControlLetter(n)||this.regexp_eatZero(n)||this.regexp_eatHexEscapeSequence(n)||this.regexp_eatRegExpUnicodeEscapeSequence(n,!1)||!n.switchU&&this.regexp_eatLegacyOctalEscapeSequence(n)||this.regexp_eatIdentityEscape(n)},le.regexp_eatCControlLetter=function(n){var o=n.pos;if(n.eat(99)){if(this.regexp_eatControlLetter(n))return!0;n.pos=o}return!1},le.regexp_eatZero=function(n){return n.current()===48&&!vr(n.lookahead())?(n.lastIntValue=0,n.advance(),!0):!1},le.regexp_eatControlEscape=function(n){var o=n.current();return o===116?(n.lastIntValue=9,n.advance(),!0):o===110?(n.lastIntValue=10,n.advance(),!0):o===118?(n.lastIntValue=11,n.advance(),!0):o===102?(n.lastIntValue=12,n.advance(),!0):o===114?(n.lastIntValue=13,n.advance(),!0):!1},le.regexp_eatControlLetter=function(n){var o=n.current();return Rc(o)?(n.lastIntValue=o%32,n.advance(),!0):!1};function Rc(n){return n>=65&&n<=90||n>=97&&n<=122}le.regexp_eatRegExpUnicodeEscapeSequence=function(n,o){o===void 0&&(o=!1);var l=n.pos,f=o||n.switchU;if(n.eat(117)){if(this.regexp_eatFixedHexDigits(n,4)){var m=n.lastIntValue;if(f&&m>=55296&&m<=56319){var E=n.pos;if(n.eat(92)&&n.eat(117)&&this.regexp_eatFixedHexDigits(n,4)){var O=n.lastIntValue;if(O>=56320&&O<=57343)return n.lastIntValue=(m-55296)*1024+(O-56320)+65536,!0}n.pos=E,n.lastIntValue=m}return!0}if(f&&n.eat(123)&&this.regexp_eatHexDigits(n)&&n.eat(125)&&xf(n.lastIntValue))return!0;f&&n.raise("Invalid unicode escape"),n.pos=l}return!1};function xf(n){return n>=0&&n<=1114111}le.regexp_eatIdentityEscape=function(n){if(n.switchU)return this.regexp_eatSyntaxCharacter(n)?!0:n.eat(47)?(n.lastIntValue=47,!0):!1;var o=n.current();return o!==99&&(!n.switchN||o!==107)?(n.lastIntValue=o,n.advance(),!0):!1},le.regexp_eatDecimalEscape=function(n){n.lastIntValue=0;var o=n.current();if(o>=49&&o<=57){do n.lastIntValue=10*n.lastIntValue+(o-48),n.advance();while((o=n.current())>=48&&o<=57);return!0}return!1};var Lc=0,Vn=1,rn=2;le.regexp_eatCharacterClassEscape=function(n){var o=n.current();if(gf(o))return n.lastIntValue=-1,n.advance(),Vn;var l=!1;if(n.switchU&&this.options.ecmaVersion>=9&&((l=o===80)||o===112)){n.lastIntValue=-1,n.advance();var f;if(n.eat(123)&&(f=this.regexp_eatUnicodePropertyValueExpression(n))&&n.eat(125))return l&&f===rn&&n.raise("Invalid property name"),f;n.raise("Invalid property name")}return Lc};function gf(n){return n===100||n===68||n===115||n===83||n===119||n===87}le.regexp_eatUnicodePropertyValueExpression=function(n){var o=n.pos;if(this.regexp_eatUnicodePropertyName(n)&&n.eat(61)){var l=n.lastStringValue;if(this.regexp_eatUnicodePropertyValue(n)){var f=n.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(n,l,f),Vn}}if(n.pos=o,this.regexp_eatLoneUnicodePropertyNameOrValue(n)){var m=n.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(n,m)}return Lc},le.regexp_validateUnicodePropertyNameAndValue=function(n,o,l){mt(n.unicodeProperties.nonBinary,o)||n.raise("Invalid property name"),n.unicodeProperties.nonBinary[o].test(l)||n.raise("Invalid property value")},le.regexp_validateUnicodePropertyNameOrValue=function(n,o){if(n.unicodeProperties.binary.test(o))return Vn;if(n.switchV&&n.unicodeProperties.binaryOfStrings.test(o))return rn;n.raise("Invalid property name")},le.regexp_eatUnicodePropertyName=function(n){var o=0;for(n.lastStringValue="";Oc(o=n.current());)n.lastStringValue+=it(o),n.advance();return n.lastStringValue!==""};function Oc(n){return Rc(n)||n===95}le.regexp_eatUnicodePropertyValue=function(n){var o=0;for(n.lastStringValue="";_f(o=n.current());)n.lastStringValue+=it(o),n.advance();return n.lastStringValue!==""};function _f(n){return Oc(n)||vr(n)}le.regexp_eatLoneUnicodePropertyNameOrValue=function(n){return this.regexp_eatUnicodePropertyValue(n)},le.regexp_eatCharacterClass=function(n){if(n.eat(91)){var o=n.eat(94),l=this.regexp_classContents(n);return n.eat(93)||n.raise("Unterminated character class"),o&&l===rn&&n.raise("Negated character class may contain strings"),!0}return!1},le.regexp_classContents=function(n){return n.current()===93?Vn:n.switchV?this.regexp_classSetExpression(n):(this.regexp_nonEmptyClassRanges(n),Vn)},le.regexp_nonEmptyClassRanges=function(n){for(;this.regexp_eatClassAtom(n);){var o=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassAtom(n)){var l=n.lastIntValue;n.switchU&&(o===-1||l===-1)&&n.raise("Invalid character class"),o!==-1&&l!==-1&&o>l&&n.raise("Range out of order in character class")}}},le.regexp_eatClassAtom=function(n){var o=n.pos;if(n.eat(92)){if(this.regexp_eatClassEscape(n))return!0;if(n.switchU){var l=n.current();(l===99||Fc(l))&&n.raise("Invalid class escape"),n.raise("Invalid escape")}n.pos=o}var f=n.current();return f!==93?(n.lastIntValue=f,n.advance(),!0):!1},le.regexp_eatClassEscape=function(n){var o=n.pos;if(n.eat(98))return n.lastIntValue=8,!0;if(n.switchU&&n.eat(45))return n.lastIntValue=45,!0;if(!n.switchU&&n.eat(99)){if(this.regexp_eatClassControlLetter(n))return!0;n.pos=o}return this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)},le.regexp_classSetExpression=function(n){var o=Vn,l;if(!this.regexp_eatClassSetRange(n))if(l=this.regexp_eatClassSetOperand(n)){l===rn&&(o=rn);for(var f=n.pos;n.eatChars([38,38]);){if(n.current()!==38&&(l=this.regexp_eatClassSetOperand(n))){l!==rn&&(o=Vn);continue}n.raise("Invalid character in character class")}if(f!==n.pos)return o;for(;n.eatChars([45,45]);)this.regexp_eatClassSetOperand(n)||n.raise("Invalid character in character class");if(f!==n.pos)return o}else n.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(n)){if(l=this.regexp_eatClassSetOperand(n),!l)return o;l===rn&&(o=rn)}},le.regexp_eatClassSetRange=function(n){var o=n.pos;if(this.regexp_eatClassSetCharacter(n)){var l=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassSetCharacter(n)){var f=n.lastIntValue;return l!==-1&&f!==-1&&l>f&&n.raise("Range out of order in character class"),!0}n.pos=o}return!1},le.regexp_eatClassSetOperand=function(n){return this.regexp_eatClassSetCharacter(n)?Vn:this.regexp_eatClassStringDisjunction(n)||this.regexp_eatNestedClass(n)},le.regexp_eatNestedClass=function(n){var o=n.pos;if(n.eat(91)){var l=n.eat(94),f=this.regexp_classContents(n);if(n.eat(93))return l&&f===rn&&n.raise("Negated character class may contain strings"),f;n.pos=o}if(n.eat(92)){var m=this.regexp_eatCharacterClassEscape(n);if(m)return m;n.pos=o}return null},le.regexp_eatClassStringDisjunction=function(n){var o=n.pos;if(n.eatChars([92,113])){if(n.eat(123)){var l=this.regexp_classStringDisjunctionContents(n);if(n.eat(125))return l}else n.raise("Invalid escape");n.pos=o}return null},le.regexp_classStringDisjunctionContents=function(n){for(var o=this.regexp_classString(n);n.eat(124);)this.regexp_classString(n)===rn&&(o=rn);return o},le.regexp_classString=function(n){for(var o=0;this.regexp_eatClassSetCharacter(n);)o++;return o===1?Vn:rn},le.regexp_eatClassSetCharacter=function(n){var o=n.pos;if(n.eat(92))return this.regexp_eatCharacterEscape(n)||this.regexp_eatClassSetReservedPunctuator(n)?!0:n.eat(98)?(n.lastIntValue=8,!0):(n.pos=o,!1);var l=n.current();return l<0||l===n.lookahead()&&bf(l)||Cf(l)?!1:(n.advance(),n.lastIntValue=l,!0)};function bf(n){return n===33||n>=35&&n<=38||n>=42&&n<=44||n===46||n>=58&&n<=64||n===94||n===96||n===126}function Cf(n){return n===40||n===41||n===45||n===47||n>=91&&n<=93||n>=123&&n<=125}le.regexp_eatClassSetReservedPunctuator=function(n){var o=n.current();return wf(o)?(n.lastIntValue=o,n.advance(),!0):!1};function wf(n){return n===33||n===35||n===37||n===38||n===44||n===45||n>=58&&n<=62||n===64||n===96||n===126}le.regexp_eatClassControlLetter=function(n){var o=n.current();return vr(o)||o===95?(n.lastIntValue=o%32,n.advance(),!0):!1},le.regexp_eatHexEscapeSequence=function(n){var o=n.pos;if(n.eat(120)){if(this.regexp_eatFixedHexDigits(n,2))return!0;n.switchU&&n.raise("Invalid escape"),n.pos=o}return!1},le.regexp_eatDecimalDigits=function(n){var o=n.pos,l=0;for(n.lastIntValue=0;vr(l=n.current());)n.lastIntValue=10*n.lastIntValue+(l-48),n.advance();return n.pos!==o};function vr(n){return n>=48&&n<=57}le.regexp_eatHexDigits=function(n){var o=n.pos,l=0;for(n.lastIntValue=0;Dc(l=n.current());)n.lastIntValue=16*n.lastIntValue+Mc(l),n.advance();return n.pos!==o};function Dc(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function Mc(n){return n>=65&&n<=70?10+(n-65):n>=97&&n<=102?10+(n-97):n-48}le.regexp_eatLegacyOctalEscapeSequence=function(n){if(this.regexp_eatOctalDigit(n)){var o=n.lastIntValue;if(this.regexp_eatOctalDigit(n)){var l=n.lastIntValue;o<=3&&this.regexp_eatOctalDigit(n)?n.lastIntValue=o*64+l*8+n.lastIntValue:n.lastIntValue=o*8+l}else n.lastIntValue=o;return!0}return!1},le.regexp_eatOctalDigit=function(n){var o=n.current();return Fc(o)?(n.lastIntValue=o-48,n.advance(),!0):(n.lastIntValue=0,!1)};function Fc(n){return n>=48&&n<=55}le.regexp_eatFixedHexDigits=function(n,o){var l=n.pos;n.lastIntValue=0;for(var f=0;f<o;++f){var m=n.current();if(!Dc(m))return n.pos=l,!1;n.lastIntValue=16*n.lastIntValue+Mc(m),n.advance()}return!0};var xr=function(o){this.type=o.type,this.value=o.value,this.start=o.start,this.end=o.end,o.options.locations&&(this.loc=new wt(o,o.startLoc,o.endLoc)),o.options.ranges&&(this.range=[o.start,o.end])},be=Ke.prototype;be.next=function(n){!n&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new xr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},be.getToken=function(){return this.next(),new xr(this)},typeof Symbol<"u"&&(be[Symbol.iterator]=function(){var n=this;return{next:function(){var o=n.getToken();return{done:o.type===c.eof,value:o}}}}),be.nextToken=function(){var n=this.curContext();if((!n||!n.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(c.eof);if(n.override)return n.override(this);this.readToken(this.fullCharCodeAtPos())},be.readToken=function(n){return h(n,this.options.ecmaVersion>=6)||n===92?this.readWord():this.getTokenFromCode(n)},be.fullCharCodeAt=function(n){var o=this.input.charCodeAt(n);if(o<=55295||o>=56320)return o;var l=this.input.charCodeAt(n+1);return l<=56319||l>=57344?o:(o<<10)+l-56613888},be.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},be.skipBlockComment=function(){var n=this.options.onComment&&this.curPosition(),o=this.pos,l=this.input.indexOf("*/",this.pos+=2);if(l===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=l+2,this.options.locations)for(var f=void 0,m=o;(f=ie(this.input,m,this.pos))>-1;)++this.curLine,m=this.lineStart=f;this.options.onComment&&this.options.onComment(!0,this.input.slice(o+2,l),o,this.pos,n,this.curPosition())},be.skipLineComment=function(n){for(var o=this.pos,l=this.options.onComment&&this.curPosition(),f=this.input.charCodeAt(this.pos+=n);this.pos<this.input.length&&!Y(f);)f=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(o+n,this.pos),o,this.pos,l,this.curPosition())},be.skipSpace=function(){e:for(;this.pos<this.input.length;){var n=this.input.charCodeAt(this.pos);switch(n){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(n>8&&n<14||n>=5760&&pe.test(String.fromCharCode(n)))++this.pos;else break e}}},be.finishToken=function(n,o){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var l=this.type;this.type=n,this.value=o,this.updateContext(l)},be.readToken_dot=function(){var n=this.input.charCodeAt(this.pos+1);if(n>=48&&n<=57)return this.readNumber(!0);var o=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&n===46&&o===46?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},be.readToken_slash=function(){var n=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):n===61?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},be.readToken_mult_modulo_exp=function(n){var o=this.input.charCodeAt(this.pos+1),l=1,f=n===42?c.star:c.modulo;return this.options.ecmaVersion>=7&&n===42&&o===42&&(++l,f=c.starstar,o=this.input.charCodeAt(this.pos+2)),o===61?this.finishOp(c.assign,l+1):this.finishOp(f,l)},be.readToken_pipe_amp=function(n){var o=this.input.charCodeAt(this.pos+1);if(o===n){if(this.options.ecmaVersion>=12){var l=this.input.charCodeAt(this.pos+2);if(l===61)return this.finishOp(c.assign,3)}return this.finishOp(n===124?c.logicalOR:c.logicalAND,2)}return o===61?this.finishOp(c.assign,2):this.finishOp(n===124?c.bitwiseOR:c.bitwiseAND,1)},be.readToken_caret=function(){var n=this.input.charCodeAt(this.pos+1);return n===61?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},be.readToken_plus_min=function(n){var o=this.input.charCodeAt(this.pos+1);return o===n?o===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(c.incDec,2):o===61?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},be.readToken_lt_gt=function(n){var o=this.input.charCodeAt(this.pos+1),l=1;return o===n?(l=n===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+l)===61?this.finishOp(c.assign,l+1):this.finishOp(c.bitShift,l)):o===33&&n===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(o===61&&(l=2),this.finishOp(c.relational,l))},be.readToken_eq_excl=function(n){var o=this.input.charCodeAt(this.pos+1);return o===61?this.finishOp(c.equality,this.input.charCodeAt(this.pos+2)===61?3:2):n===61&&o===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(n===61?c.eq:c.prefix,1)},be.readToken_question=function(){var n=this.options.ecmaVersion;if(n>=11){var o=this.input.charCodeAt(this.pos+1);if(o===46){var l=this.input.charCodeAt(this.pos+2);if(l<48||l>57)return this.finishOp(c.questionDot,2)}if(o===63){if(n>=12){var f=this.input.charCodeAt(this.pos+2);if(f===61)return this.finishOp(c.assign,3)}return this.finishOp(c.coalesce,2)}}return this.finishOp(c.question,1)},be.readToken_numberSign=function(){var n=this.options.ecmaVersion,o=35;if(n>=13&&(++this.pos,o=this.fullCharCodeAtPos(),h(o,!0)||o===92))return this.finishToken(c.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+it(o)+"'")},be.getTokenFromCode=function(n){switch(n){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var o=this.input.charCodeAt(this.pos+1);if(o===120||o===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(o===111||o===79)return this.readRadixNumber(8);if(o===98||o===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(n);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(n);case 124:case 38:return this.readToken_pipe_amp(n);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(n);case 60:case 62:return this.readToken_lt_gt(n);case 61:case 33:return this.readToken_eq_excl(n);case 63:return this.readToken_question();case 126:return this.finishOp(c.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+it(n)+"'")},be.finishOp=function(n,o){var l=this.input.slice(this.pos,this.pos+o);return this.pos+=o,this.finishToken(n,l)},be.readRegexp=function(){for(var n,o,l=this.pos;;){this.pos>=this.input.length&&this.raise(l,"Unterminated regular expression");var f=this.input.charAt(this.pos);if(R.test(f)&&this.raise(l,"Unterminated regular expression"),n)n=!1;else{if(f==="[")o=!0;else if(f==="]"&&o)o=!1;else if(f==="/"&&!o)break;n=f==="\\"}++this.pos}var m=this.input.slice(l,this.pos);++this.pos;var E=this.pos,O=this.readWord1();this.containsEsc&&this.unexpected(E);var X=this.regexpState||(this.regexpState=new sn(this));X.reset(l,m,O),this.validateRegExpFlags(X),this.validateRegExpPattern(X);var Q=null;try{Q=new RegExp(m,O)}catch{}return this.finishToken(c.regexp,{pattern:m,flags:O,value:Q})},be.readInt=function(n,o,l){for(var f=this.options.ecmaVersion>=12&&o===void 0,m=l&&this.input.charCodeAt(this.pos)===48,E=this.pos,O=0,X=0,Q=0,Te=o??1/0;Q<Te;++Q,++this.pos){var xe=this.input.charCodeAt(this.pos),tt=void 0;if(f&&xe===95){m&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),X===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Q===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),X=xe;continue}if(xe>=97?tt=xe-97+10:xe>=65?tt=xe-65+10:xe>=48&&xe<=57?tt=xe-48:tt=1/0,tt>=n)break;X=xe,O=O*n+tt}return f&&X===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===E||o!=null&&this.pos-E!==o?null:O};function Sf(n,o){return o?parseInt(n,8):parseFloat(n.replace(/_/g,""))}function Bc(n){return typeof BigInt!="function"?null:BigInt(n.replace(/_/g,""))}be.readRadixNumber=function(n){var o=this.pos;this.pos+=2;var l=this.readInt(n);return l==null&&this.raise(this.start+2,"Expected number in radix "+n),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(l=Bc(this.input.slice(o,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,l)},be.readNumber=function(n){var o=this.pos;!n&&this.readInt(10,void 0,!0)===null&&this.raise(o,"Invalid number");var l=this.pos-o>=2&&this.input.charCodeAt(o)===48;l&&this.strict&&this.raise(o,"Invalid number");var f=this.input.charCodeAt(this.pos);if(!l&&!n&&this.options.ecmaVersion>=11&&f===110){var m=Bc(this.input.slice(o,this.pos));return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,m)}l&&/[89]/.test(this.input.slice(o,this.pos))&&(l=!1),f===46&&!l&&(++this.pos,this.readInt(10),f=this.input.charCodeAt(this.pos)),(f===69||f===101)&&!l&&(f=this.input.charCodeAt(++this.pos),(f===43||f===45)&&++this.pos,this.readInt(10)===null&&this.raise(o,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var E=Sf(this.input.slice(o,this.pos),l);return this.finishToken(c.num,E)},be.readCodePoint=function(){var n=this.input.charCodeAt(this.pos),o;if(n===123){this.options.ecmaVersion<6&&this.unexpected();var l=++this.pos;o=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,o>1114111&&this.invalidStringToken(l,"Code point out of bounds")}else o=this.readHexChar(4);return o},be.readString=function(n){for(var o="",l=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var f=this.input.charCodeAt(this.pos);if(f===n)break;f===92?(o+=this.input.slice(l,this.pos),o+=this.readEscapedChar(!1),l=this.pos):f===8232||f===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Y(f)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return o+=this.input.slice(l,this.pos++),this.finishToken(c.string,o)};var Vc={};be.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n===Vc)this.readInvalidTemplateToken();else throw n}this.inTemplateElement=!1},be.invalidStringToken=function(n,o){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Vc;this.raise(n,o)},be.readTmplToken=function(){for(var n="",o=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var l=this.input.charCodeAt(this.pos);if(l===96||l===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===c.template||this.type===c.invalidTemplate)?l===36?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote)):(n+=this.input.slice(o,this.pos),this.finishToken(c.template,n));if(l===92)n+=this.input.slice(o,this.pos),n+=this.readEscapedChar(!0),o=this.pos;else if(Y(l)){switch(n+=this.input.slice(o,this.pos),++this.pos,l){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:n+=` -`;break;default:n+=String.fromCharCode(l);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),o=this.pos}else++this.pos}},be.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(c.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===` +`),cooked:this.value},this.next(),l.tail=this.type===c.backQuote,this.finishNode(l,"TemplateElement")},me.parseTemplate=function(n){n===void 0&&(n={});var o=n.isTagged;o===void 0&&(o=!1);var l=this.startNode();this.next(),l.expressions=[];var h=this.parseTemplateElement({isTagged:o});for(l.quasis=[h];!h.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),l.expressions.push(this.parseExpression()),this.expect(c.braceR),l.quasis.push(h=this.parseTemplateElement({isTagged:o}));return this.next(),this.finishNode(l,"TemplateLiteral")},me.isAsyncProp=function(n){return!n.computed&&n.key.type==="Identifier"&&n.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))},me.parseObj=function(n,o){var l=this.startNode(),h=!0,m={};for(l.properties=[],this.next();!this.eat(c.braceR);){if(h)h=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var E=this.parseProperty(n,o);n||this.checkPropClash(E,m,o),l.properties.push(E)}return this.finishNode(l,n?"ObjectPattern":"ObjectExpression")},me.parseProperty=function(n,o){var l=this.startNode(),h,m,E,L;if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return n?(l.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(l,"RestElement")):(l.argument=this.parseMaybeAssign(!1,o),this.type===c.comma&&o&&o.trailingComma<0&&(o.trailingComma=this.start),this.finishNode(l,"SpreadElement"));this.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(n||o)&&(E=this.start,L=this.startLoc),n||(h=this.eat(c.star)));var X=this.containsEsc;return this.parsePropertyName(l),!n&&!X&&this.options.ecmaVersion>=8&&!h&&this.isAsyncProp(l)?(m=!0,h=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(l)):m=!1,this.parsePropertyValue(l,n,h,m,E,L,o,X),this.finishNode(l,"Property")},me.parseGetterSetter=function(n){var o=n.key.name;this.parsePropertyName(n),n.value=this.parseMethod(!1),n.kind=o;var l=n.kind==="get"?0:1;if(n.value.params.length!==l){var h=n.value.start;n.kind==="get"?this.raiseRecoverable(h,"getter should have no params"):this.raiseRecoverable(h,"setter should have exactly one param")}else n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")},me.parsePropertyValue=function(n,o,l,h,m,E,L,X){(l||h)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(n.value=o?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,L),n.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(o&&this.unexpected(),n.method=!0,n.value=this.parseMethod(l,h),n.kind="init"):!o&&!X&&this.options.ecmaVersion>=5&&!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.type!==c.comma&&this.type!==c.braceR&&this.type!==c.eq?((l||h)&&this.unexpected(),this.parseGetterSetter(n)):this.options.ecmaVersion>=6&&!n.computed&&n.key.type==="Identifier"?((l||h)&&this.unexpected(),this.checkUnreserved(n.key),n.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=m),o?n.value=this.parseMaybeDefault(m,E,this.copyNode(n.key)):this.type===c.eq&&L?(L.shorthandAssign<0&&(L.shorthandAssign=this.start),n.value=this.parseMaybeDefault(m,E,this.copyNode(n.key))):n.value=this.copyNode(n.key),n.kind="init",n.shorthand=!0):this.unexpected()},me.parsePropertyName=function(n){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return n.computed=!0,n.key=this.parseMaybeAssign(),this.expect(c.bracketR),n.key;n.computed=!1}return n.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},me.initFunction=function(n){n.id=null,this.options.ecmaVersion>=6&&(n.generator=n.expression=!1),this.options.ecmaVersion>=8&&(n.async=!1)},me.parseMethod=function(n,o,l){var h=this.startNode(),m=this.yieldPos,E=this.awaitPos,L=this.awaitIdentPos;return this.initFunction(h),this.options.ecmaVersion>=6&&(h.generator=n),this.options.ecmaVersion>=8&&(h.async=!!o),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yt(o,h.generator)|Pe|(l?Oe:0)),this.expect(c.parenL),h.params=this.parseBindingList(c.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(h,!1,!0,!1),this.yieldPos=m,this.awaitPos=E,this.awaitIdentPos=L,this.finishNode(h,"FunctionExpression")},me.parseArrowExpression=function(n,o,l,h){var m=this.yieldPos,E=this.awaitPos,L=this.awaitIdentPos;return this.enterScope(yt(l,!1)|fe),this.initFunction(n),this.options.ecmaVersion>=8&&(n.async=!!l),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,n.params=this.toAssignableList(o,!0),this.parseFunctionBody(n,!0,!1,h),this.yieldPos=m,this.awaitPos=E,this.awaitIdentPos=L,this.finishNode(n,"ArrowFunctionExpression")},me.parseFunctionBody=function(n,o,l,h){var m=o&&this.type!==c.braceL,E=this.strict,L=!1;if(m)n.body=this.parseMaybeAssign(h),n.expression=!0,this.checkParams(n,!1);else{var X=this.options.ecmaVersion>=7&&!this.isSimpleParamList(n.params);(!E||X)&&(L=this.strictDirective(this.end),L&&X&&this.raiseRecoverable(n.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Q=this.labels;this.labels=[],L&&(this.strict=!0),this.checkParams(n,!E&&!L&&!o&&!l&&this.isSimpleParamList(n.params)),this.strict&&n.id&&this.checkLValSimple(n.id,is),n.body=this.parseBlock(!1,void 0,L&&!E),n.expression=!1,this.adaptDirectivePrologue(n.body.body),this.labels=Q}this.exitScope()},me.isSimpleParamList=function(n){for(var o=0,l=n;o<l.length;o+=1){var h=l[o];if(h.type!=="Identifier")return!1}return!0},me.checkParams=function(n,o){for(var l=Object.create(null),h=0,m=n.params;h<m.length;h+=1){var E=m[h];this.checkLValInnerPattern(E,Ut,o?null:l)}},me.parseExprList=function(n,o,l,h){for(var m=[],E=!0;!this.eat(n);){if(E)E=!1;else if(this.expect(c.comma),o&&this.afterTrailingComma(n))break;var L=void 0;l&&this.type===c.comma?L=null:this.type===c.ellipsis?(L=this.parseSpread(h),h&&this.type===c.comma&&h.trailingComma<0&&(h.trailingComma=this.start)):L=this.parseMaybeAssign(!1,h),m.push(L)}return m},me.checkUnreserved=function(n){var o=n.start,l=n.end,h=n.name;if(this.inGenerator&&h==="yield"&&this.raiseRecoverable(o,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&h==="await"&&this.raiseRecoverable(o,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&ct)&&h==="arguments"&&this.raiseRecoverable(o,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(h==="arguments"||h==="await")&&this.raise(o,"Cannot use "+h+" in class static initialization block"),this.keywords.test(h)&&this.raise(o,"Unexpected keyword '"+h+"'"),!(this.options.ecmaVersion<6&&this.input.slice(o,l).indexOf("\\")!==-1)){var m=this.strict?this.reservedWordsStrict:this.reservedWords;m.test(h)&&(!this.inAsync&&h==="await"&&this.raiseRecoverable(o,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(o,"The keyword '"+h+"' is reserved"))}},me.parseIdent=function(n){var o=this.parseIdentNode();return this.next(!!n),this.finishNode(o,"Identifier"),n||(this.checkUnreserved(o),o.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=o.start)),o},me.parseIdentNode=function(){var n=this.startNode();return this.type===c.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,(n.name==="class"||n.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=c.name):this.unexpected(),n},me.parsePrivateIdent=function(){var n=this.startNode();return this.type===c.privateId?n.name=this.value:this.unexpected(),this.next(),this.finishNode(n,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(n)),n},me.parseYield=function(n){this.yieldPos||(this.yieldPos=this.start);var o=this.startNode();return this.next(),this.type===c.semi||this.canInsertSemicolon()||this.type!==c.star&&!this.type.startsExpr?(o.delegate=!1,o.argument=null):(o.delegate=this.eat(c.star),o.argument=this.parseMaybeAssign(n)),this.finishNode(o,"YieldExpression")},me.parseAwait=function(n){this.awaitPos||(this.awaitPos=this.start);var o=this.startNode();return this.next(),o.argument=this.parseMaybeUnary(null,!0,!1,n),this.finishNode(o,"AwaitExpression")};var os=Ue.prototype;os.raise=function(n,o){var l=Kt(this.input,n);o+=" ("+l.line+":"+l.column+")",this.sourceFile&&(o+=" in "+this.sourceFile);var h=new SyntaxError(o);throw h.pos=n,h.loc=l,h.raisedAt=this.pos,h},os.raiseRecoverable=os.raise,os.curPosition=function(){if(this.options.locations)return new ht(this.curLine,this.pos-this.lineStart)};var on=Ue.prototype,Ii=function(o){this.flags=o,this.var=[],this.lexical=[],this.functions=[]};on.enterScope=function(n){this.scopeStack.push(new Ii(n))},on.exitScope=function(){this.scopeStack.pop()},on.treatFunctionsAsVarInScope=function(n){return n.flags&J||!this.inModule&&n.flags&G},on.declareName=function(n,o,l){var h=!1;if(o===et){var m=this.currentScope();h=m.lexical.indexOf(n)>-1||m.functions.indexOf(n)>-1||m.var.indexOf(n)>-1,m.lexical.push(n),this.inModule&&m.flags&G&&delete this.undefinedExports[n]}else if(o===Bn){var E=this.currentScope();E.lexical.push(n)}else if(o===bn){var L=this.currentScope();this.treatFunctionsAsVar?h=L.lexical.indexOf(n)>-1:h=L.lexical.indexOf(n)>-1||L.var.indexOf(n)>-1,L.functions.push(n)}else for(var X=this.scopeStack.length-1;X>=0;--X){var Q=this.scopeStack[X];if(Q.lexical.indexOf(n)>-1&&!(Q.flags&Ae&&Q.lexical[0]===n)||!this.treatFunctionsAsVarInScope(Q)&&Q.functions.indexOf(n)>-1){h=!0;break}if(Q.var.push(n),this.inModule&&Q.flags&G&&delete this.undefinedExports[n],Q.flags&ct)break}h&&this.raiseRecoverable(l,"Identifier '"+n+"' has already been declared")},on.checkLocalExport=function(n){this.scopeStack[0].lexical.indexOf(n.name)===-1&&this.scopeStack[0].var.indexOf(n.name)===-1&&(this.undefinedExports[n.name]=n)},on.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},on.currentVarScope=function(){for(var n=this.scopeStack.length-1;;n--){var o=this.scopeStack[n];if(o.flags&(ct|Ge|Xe))return o}},on.currentThisScope=function(){for(var n=this.scopeStack.length-1;;n--){var o=this.scopeStack[n];if(o.flags&(ct|Ge|Xe)&&!(o.flags&fe))return o}};var jn=function(o,l,h){this.type="",this.start=l,this.end=0,o.options.locations&&(this.loc=new St(o,h)),o.options.directSourceFile&&(this.sourceFile=o.options.directSourceFile),o.options.ranges&&(this.range=[l,0])},$n=Ue.prototype;$n.startNode=function(){return new jn(this,this.start,this.startLoc)},$n.startNodeAt=function(n,o){return new jn(this,n,o)};function js(n,o,l,h){return n.type=o,n.end=l,this.options.locations&&(n.loc.end=h),this.options.ranges&&(n.range[1]=l),n}$n.finishNode=function(n,o){return js.call(this,n,o,this.lastTokEnd,this.lastTokEndLoc)},$n.finishNodeAt=function(n,o,l,h){return js.call(this,n,o,l,h)},$n.copyNode=function(n){var o=new jn(this,n.start,this.startLoc);for(var l in n)o[l]=n[l];return o};var Ei="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",$s="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ks=$s+" Extended_Pictographic",qs=Ks,Us=qs+" EBase EComp EMod EPres ExtPict",Hs=Us,Ai=Hs,Pi={9:$s,10:Ks,11:qs,12:Us,13:Hs,14:Ai},Ni="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ri={9:"",10:"",11:"",12:"",13:"",14:Ni},Ws="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Gs="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",zs=Gs+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Xs=zs+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ys=Xs+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",xr=Ys+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ho=xr+" "+Ei,Wo={9:Gs,10:zs,11:Xs,12:Ys,13:xr,14:Ho},gr={};function Go(n){var o=gr[n]={binary:it(Pi[n]+" "+Ws),binaryOfStrings:it(Ri[n]),nonBinary:{General_Category:it(Ws),Script:it(Wo[n])}};o.nonBinary.Script_Extensions=o.nonBinary.Script,o.nonBinary.gc=o.nonBinary.General_Category,o.nonBinary.sc=o.nonBinary.Script,o.nonBinary.scx=o.nonBinary.Script_Extensions}for(var Li=0,_r=[9,10,11,12,13,14];Li<_r.length;Li+=1){var zo=_r[Li];Go(zo)}var le=Ue.prototype,Js=function(o,l){this.parent=o,this.base=l||this};Js.prototype.separatedFrom=function(o){for(var l=this;l;l=l.parent)for(var h=o;h;h=h.parent)if(l.base===h.base&&l!==h)return!0;return!1},Js.prototype.sibling=function(){return new Js(this.parent,this.base)};var an=function(o){this.parser=o,this.validFlags="gim"+(o.options.ecmaVersion>=6?"uy":"")+(o.options.ecmaVersion>=9?"s":"")+(o.options.ecmaVersion>=13?"d":"")+(o.options.ecmaVersion>=15?"v":""),this.unicodeProperties=gr[o.options.ecmaVersion>=14?14:o.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};an.prototype.reset=function(o,l,h){var m=h.indexOf("v")!==-1,E=h.indexOf("u")!==-1;this.start=o|0,this.source=l+"",this.flags=h,m&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=E&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=E&&this.parser.options.ecmaVersion>=9)},an.prototype.raise=function(o){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+o)},an.prototype.at=function(o,l){l===void 0&&(l=!1);var h=this.source,m=h.length;if(o>=m)return-1;var E=h.charCodeAt(o);if(!(l||this.switchU)||E<=55295||E>=57344||o+1>=m)return E;var L=h.charCodeAt(o+1);return L>=56320&&L<=57343?(E<<10)+L-56613888:E},an.prototype.nextIndex=function(o,l){l===void 0&&(l=!1);var h=this.source,m=h.length;if(o>=m)return m;var E=h.charCodeAt(o),L;return!(l||this.switchU)||E<=55295||E>=57344||o+1>=m||(L=h.charCodeAt(o+1))<56320||L>57343?o+1:o+2},an.prototype.current=function(o){return o===void 0&&(o=!1),this.at(this.pos,o)},an.prototype.lookahead=function(o){return o===void 0&&(o=!1),this.at(this.nextIndex(this.pos,o),o)},an.prototype.advance=function(o){o===void 0&&(o=!1),this.pos=this.nextIndex(this.pos,o)},an.prototype.eat=function(o,l){return l===void 0&&(l=!1),this.current(l)===o?(this.advance(l),!0):!1},an.prototype.eatChars=function(o,l){l===void 0&&(l=!1);for(var h=this.pos,m=0,E=o;m<E.length;m+=1){var L=E[m],X=this.at(h,l);if(X===-1||X!==L)return!1;h=this.nextIndex(h,l)}return this.pos=h,!0},le.validateRegExpFlags=function(n){for(var o=n.validFlags,l=n.flags,h=!1,m=!1,E=0;E<l.length;E++){var L=l.charAt(E);o.indexOf(L)===-1&&this.raise(n.start,"Invalid regular expression flag"),l.indexOf(L,E+1)>-1&&this.raise(n.start,"Duplicate regular expression flag"),L==="u"&&(h=!0),L==="v"&&(m=!0)}this.options.ecmaVersion>=15&&h&&m&&this.raise(n.start,"Invalid regular expression flag")};function Xo(n){for(var o in n)return!0;return!1}le.validateRegExpPattern=function(n){this.regexp_pattern(n),!n.switchN&&this.options.ecmaVersion>=9&&Xo(n.groupNames)&&(n.switchN=!0,this.regexp_pattern(n))},le.regexp_pattern=function(n){n.pos=0,n.lastIntValue=0,n.lastStringValue="",n.lastAssertionIsQuantifiable=!1,n.numCapturingParens=0,n.maxBackReference=0,n.groupNames=Object.create(null),n.backReferenceNames.length=0,n.branchID=null,this.regexp_disjunction(n),n.pos!==n.source.length&&(n.eat(41)&&n.raise("Unmatched ')'"),(n.eat(93)||n.eat(125))&&n.raise("Lone quantifier brackets")),n.maxBackReference>n.numCapturingParens&&n.raise("Invalid escape");for(var o=0,l=n.backReferenceNames;o<l.length;o+=1){var h=l[o];n.groupNames[h]||n.raise("Invalid named capture referenced")}},le.regexp_disjunction=function(n){var o=this.options.ecmaVersion>=16;for(o&&(n.branchID=new Js(n.branchID,null)),this.regexp_alternative(n);n.eat(124);)o&&(n.branchID=n.branchID.sibling()),this.regexp_alternative(n);o&&(n.branchID=n.branchID.parent),this.regexp_eatQuantifier(n,!0)&&n.raise("Nothing to repeat"),n.eat(123)&&n.raise("Lone quantifier brackets")},le.regexp_alternative=function(n){for(;n.pos<n.source.length&&this.regexp_eatTerm(n););},le.regexp_eatTerm=function(n){return this.regexp_eatAssertion(n)?(n.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(n)&&n.switchU&&n.raise("Invalid quantifier"),!0):(n.switchU?this.regexp_eatAtom(n):this.regexp_eatExtendedAtom(n))?(this.regexp_eatQuantifier(n),!0):!1},le.regexp_eatAssertion=function(n){var o=n.pos;if(n.lastAssertionIsQuantifiable=!1,n.eat(94)||n.eat(36))return!0;if(n.eat(92)){if(n.eat(66)||n.eat(98))return!0;n.pos=o}if(n.eat(40)&&n.eat(63)){var l=!1;if(this.options.ecmaVersion>=9&&(l=n.eat(60)),n.eat(61)||n.eat(33))return this.regexp_disjunction(n),n.eat(41)||n.raise("Unterminated group"),n.lastAssertionIsQuantifiable=!l,!0}return n.pos=o,!1},le.regexp_eatQuantifier=function(n,o){return o===void 0&&(o=!1),this.regexp_eatQuantifierPrefix(n,o)?(n.eat(63),!0):!1},le.regexp_eatQuantifierPrefix=function(n,o){return n.eat(42)||n.eat(43)||n.eat(63)||this.regexp_eatBracedQuantifier(n,o)},le.regexp_eatBracedQuantifier=function(n,o){var l=n.pos;if(n.eat(123)){var h=0,m=-1;if(this.regexp_eatDecimalDigits(n)&&(h=n.lastIntValue,n.eat(44)&&this.regexp_eatDecimalDigits(n)&&(m=n.lastIntValue),n.eat(125)))return m!==-1&&m<h&&!o&&n.raise("numbers out of order in {} quantifier"),!0;n.switchU&&!o&&n.raise("Incomplete quantifier"),n.pos=l}return!1},le.regexp_eatAtom=function(n){return this.regexp_eatPatternCharacters(n)||n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)},le.regexp_eatReverseSolidusAtomEscape=function(n){var o=n.pos;if(n.eat(92)){if(this.regexp_eatAtomEscape(n))return!0;n.pos=o}return!1},le.regexp_eatUncapturingGroup=function(n){var o=n.pos;if(n.eat(40)){if(n.eat(63)){if(this.options.ecmaVersion>=16){var l=this.regexp_eatModifiers(n),h=n.eat(45);if(l||h){for(var m=0;m<l.length;m++){var E=l.charAt(m);l.indexOf(E,m+1)>-1&&n.raise("Duplicate regular expression modifiers")}if(h){var L=this.regexp_eatModifiers(n);!l&&!L&&n.current()===58&&n.raise("Invalid regular expression modifiers");for(var X=0;X<L.length;X++){var Q=L.charAt(X);(L.indexOf(Q,X+1)>-1||l.indexOf(Q)>-1)&&n.raise("Duplicate regular expression modifiers")}}}}if(n.eat(58)){if(this.regexp_disjunction(n),n.eat(41))return!0;n.raise("Unterminated group")}}n.pos=o}return!1},le.regexp_eatCapturingGroup=function(n){if(n.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(n):n.current()===63&&n.raise("Invalid group"),this.regexp_disjunction(n),n.eat(41))return n.numCapturingParens+=1,!0;n.raise("Unterminated group")}return!1},le.regexp_eatModifiers=function(n){for(var o="",l=0;(l=n.current())!==-1&&Yo(l);)o+=rt(l),n.advance();return o};function Yo(n){return n===105||n===109||n===115}le.regexp_eatExtendedAtom=function(n){return n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)||this.regexp_eatInvalidBracedQuantifier(n)||this.regexp_eatExtendedPatternCharacter(n)},le.regexp_eatInvalidBracedQuantifier=function(n){return this.regexp_eatBracedQuantifier(n,!0)&&n.raise("Nothing to repeat"),!1},le.regexp_eatSyntaxCharacter=function(n){var o=n.current();return br(o)?(n.lastIntValue=o,n.advance(),!0):!1};function br(n){return n===36||n>=40&&n<=43||n===46||n===63||n>=91&&n<=94||n>=123&&n<=125}le.regexp_eatPatternCharacters=function(n){for(var o=n.pos,l=0;(l=n.current())!==-1&&!br(l);)n.advance();return n.pos!==o},le.regexp_eatExtendedPatternCharacter=function(n){var o=n.current();return o!==-1&&o!==36&&!(o>=40&&o<=43)&&o!==46&&o!==63&&o!==91&&o!==94&&o!==124?(n.advance(),!0):!1},le.regexp_groupSpecifier=function(n){if(n.eat(63)){this.regexp_eatGroupName(n)||n.raise("Invalid group");var o=this.options.ecmaVersion>=16,l=n.groupNames[n.lastStringValue];if(l)if(o)for(var h=0,m=l;h<m.length;h+=1){var E=m[h];E.separatedFrom(n.branchID)||n.raise("Duplicate capture group name")}else n.raise("Duplicate capture group name");o?(l||(n.groupNames[n.lastStringValue]=[])).push(n.branchID):n.groupNames[n.lastStringValue]=!0}},le.regexp_eatGroupName=function(n){if(n.lastStringValue="",n.eat(60)){if(this.regexp_eatRegExpIdentifierName(n)&&n.eat(62))return!0;n.raise("Invalid capture group name")}return!1},le.regexp_eatRegExpIdentifierName=function(n){if(n.lastStringValue="",this.regexp_eatRegExpIdentifierStart(n)){for(n.lastStringValue+=rt(n.lastIntValue);this.regexp_eatRegExpIdentifierPart(n);)n.lastStringValue+=rt(n.lastIntValue);return!0}return!1},le.regexp_eatRegExpIdentifierStart=function(n){var o=n.pos,l=this.options.ecmaVersion>=11,h=n.current(l);return n.advance(l),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,l)&&(h=n.lastIntValue),Jo(h)?(n.lastIntValue=h,!0):(n.pos=o,!1)};function Jo(n){return f(n,!0)||n===36||n===95}le.regexp_eatRegExpIdentifierPart=function(n){var o=n.pos,l=this.options.ecmaVersion>=11,h=n.current(l);return n.advance(l),h===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,l)&&(h=n.lastIntValue),Qo(h)?(n.lastIntValue=h,!0):(n.pos=o,!1)};function Qo(n){return T(n,!0)||n===36||n===95||n===8204||n===8205}le.regexp_eatAtomEscape=function(n){return this.regexp_eatBackReference(n)||this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)||n.switchN&&this.regexp_eatKGroupName(n)?!0:(n.switchU&&(n.current()===99&&n.raise("Invalid unicode escape"),n.raise("Invalid escape")),!1)},le.regexp_eatBackReference=function(n){var o=n.pos;if(this.regexp_eatDecimalEscape(n)){var l=n.lastIntValue;if(n.switchU)return l>n.maxBackReference&&(n.maxBackReference=l),!0;if(l<=n.numCapturingParens)return!0;n.pos=o}return!1},le.regexp_eatKGroupName=function(n){if(n.eat(107)){if(this.regexp_eatGroupName(n))return n.backReferenceNames.push(n.lastStringValue),!0;n.raise("Invalid named reference")}return!1},le.regexp_eatCharacterEscape=function(n){return this.regexp_eatControlEscape(n)||this.regexp_eatCControlLetter(n)||this.regexp_eatZero(n)||this.regexp_eatHexEscapeSequence(n)||this.regexp_eatRegExpUnicodeEscapeSequence(n,!1)||!n.switchU&&this.regexp_eatLegacyOctalEscapeSequence(n)||this.regexp_eatIdentityEscape(n)},le.regexp_eatCControlLetter=function(n){var o=n.pos;if(n.eat(99)){if(this.regexp_eatControlLetter(n))return!0;n.pos=o}return!1},le.regexp_eatZero=function(n){return n.current()===48&&!Cr(n.lookahead())?(n.lastIntValue=0,n.advance(),!0):!1},le.regexp_eatControlEscape=function(n){var o=n.current();return o===116?(n.lastIntValue=9,n.advance(),!0):o===110?(n.lastIntValue=10,n.advance(),!0):o===118?(n.lastIntValue=11,n.advance(),!0):o===102?(n.lastIntValue=12,n.advance(),!0):o===114?(n.lastIntValue=13,n.advance(),!0):!1},le.regexp_eatControlLetter=function(n){var o=n.current();return Kc(o)?(n.lastIntValue=o%32,n.advance(),!0):!1};function Kc(n){return n>=65&&n<=90||n>=97&&n<=122}le.regexp_eatRegExpUnicodeEscapeSequence=function(n,o){o===void 0&&(o=!1);var l=n.pos,h=o||n.switchU;if(n.eat(117)){if(this.regexp_eatFixedHexDigits(n,4)){var m=n.lastIntValue;if(h&&m>=55296&&m<=56319){var E=n.pos;if(n.eat(92)&&n.eat(117)&&this.regexp_eatFixedHexDigits(n,4)){var L=n.lastIntValue;if(L>=56320&&L<=57343)return n.lastIntValue=(m-55296)*1024+(L-56320)+65536,!0}n.pos=E,n.lastIntValue=m}return!0}if(h&&n.eat(123)&&this.regexp_eatHexDigits(n)&&n.eat(125)&&Rf(n.lastIntValue))return!0;h&&n.raise("Invalid unicode escape"),n.pos=l}return!1};function Rf(n){return n>=0&&n<=1114111}le.regexp_eatIdentityEscape=function(n){if(n.switchU)return this.regexp_eatSyntaxCharacter(n)?!0:n.eat(47)?(n.lastIntValue=47,!0):!1;var o=n.current();return o!==99&&(!n.switchN||o!==107)?(n.lastIntValue=o,n.advance(),!0):!1},le.regexp_eatDecimalEscape=function(n){n.lastIntValue=0;var o=n.current();if(o>=49&&o<=57){do n.lastIntValue=10*n.lastIntValue+(o-48),n.advance();while((o=n.current())>=48&&o<=57);return!0}return!1};var qc=0,Kn=1,ln=2;le.regexp_eatCharacterClassEscape=function(n){var o=n.current();if(Lf(o))return n.lastIntValue=-1,n.advance(),Kn;var l=!1;if(n.switchU&&this.options.ecmaVersion>=9&&((l=o===80)||o===112)){n.lastIntValue=-1,n.advance();var h;if(n.eat(123)&&(h=this.regexp_eatUnicodePropertyValueExpression(n))&&n.eat(125))return l&&h===ln&&n.raise("Invalid property name"),h;n.raise("Invalid property name")}return qc};function Lf(n){return n===100||n===68||n===115||n===83||n===119||n===87}le.regexp_eatUnicodePropertyValueExpression=function(n){var o=n.pos;if(this.regexp_eatUnicodePropertyName(n)&&n.eat(61)){var l=n.lastStringValue;if(this.regexp_eatUnicodePropertyValue(n)){var h=n.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(n,l,h),Kn}}if(n.pos=o,this.regexp_eatLoneUnicodePropertyNameOrValue(n)){var m=n.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(n,m)}return qc},le.regexp_validateUnicodePropertyNameAndValue=function(n,o,l){Tt(n.unicodeProperties.nonBinary,o)||n.raise("Invalid property name"),n.unicodeProperties.nonBinary[o].test(l)||n.raise("Invalid property value")},le.regexp_validateUnicodePropertyNameOrValue=function(n,o){if(n.unicodeProperties.binary.test(o))return Kn;if(n.switchV&&n.unicodeProperties.binaryOfStrings.test(o))return ln;n.raise("Invalid property name")},le.regexp_eatUnicodePropertyName=function(n){var o=0;for(n.lastStringValue="";Uc(o=n.current());)n.lastStringValue+=rt(o),n.advance();return n.lastStringValue!==""};function Uc(n){return Kc(n)||n===95}le.regexp_eatUnicodePropertyValue=function(n){var o=0;for(n.lastStringValue="";Of(o=n.current());)n.lastStringValue+=rt(o),n.advance();return n.lastStringValue!==""};function Of(n){return Uc(n)||Cr(n)}le.regexp_eatLoneUnicodePropertyNameOrValue=function(n){return this.regexp_eatUnicodePropertyValue(n)},le.regexp_eatCharacterClass=function(n){if(n.eat(91)){var o=n.eat(94),l=this.regexp_classContents(n);return n.eat(93)||n.raise("Unterminated character class"),o&&l===ln&&n.raise("Negated character class may contain strings"),!0}return!1},le.regexp_classContents=function(n){return n.current()===93?Kn:n.switchV?this.regexp_classSetExpression(n):(this.regexp_nonEmptyClassRanges(n),Kn)},le.regexp_nonEmptyClassRanges=function(n){for(;this.regexp_eatClassAtom(n);){var o=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassAtom(n)){var l=n.lastIntValue;n.switchU&&(o===-1||l===-1)&&n.raise("Invalid character class"),o!==-1&&l!==-1&&o>l&&n.raise("Range out of order in character class")}}},le.regexp_eatClassAtom=function(n){var o=n.pos;if(n.eat(92)){if(this.regexp_eatClassEscape(n))return!0;if(n.switchU){var l=n.current();(l===99||Gc(l))&&n.raise("Invalid class escape"),n.raise("Invalid escape")}n.pos=o}var h=n.current();return h!==93?(n.lastIntValue=h,n.advance(),!0):!1},le.regexp_eatClassEscape=function(n){var o=n.pos;if(n.eat(98))return n.lastIntValue=8,!0;if(n.switchU&&n.eat(45))return n.lastIntValue=45,!0;if(!n.switchU&&n.eat(99)){if(this.regexp_eatClassControlLetter(n))return!0;n.pos=o}return this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)},le.regexp_classSetExpression=function(n){var o=Kn,l;if(!this.regexp_eatClassSetRange(n))if(l=this.regexp_eatClassSetOperand(n)){l===ln&&(o=ln);for(var h=n.pos;n.eatChars([38,38]);){if(n.current()!==38&&(l=this.regexp_eatClassSetOperand(n))){l!==ln&&(o=Kn);continue}n.raise("Invalid character in character class")}if(h!==n.pos)return o;for(;n.eatChars([45,45]);)this.regexp_eatClassSetOperand(n)||n.raise("Invalid character in character class");if(h!==n.pos)return o}else n.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(n)){if(l=this.regexp_eatClassSetOperand(n),!l)return o;l===ln&&(o=ln)}},le.regexp_eatClassSetRange=function(n){var o=n.pos;if(this.regexp_eatClassSetCharacter(n)){var l=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassSetCharacter(n)){var h=n.lastIntValue;return l!==-1&&h!==-1&&l>h&&n.raise("Range out of order in character class"),!0}n.pos=o}return!1},le.regexp_eatClassSetOperand=function(n){return this.regexp_eatClassSetCharacter(n)?Kn:this.regexp_eatClassStringDisjunction(n)||this.regexp_eatNestedClass(n)},le.regexp_eatNestedClass=function(n){var o=n.pos;if(n.eat(91)){var l=n.eat(94),h=this.regexp_classContents(n);if(n.eat(93))return l&&h===ln&&n.raise("Negated character class may contain strings"),h;n.pos=o}if(n.eat(92)){var m=this.regexp_eatCharacterClassEscape(n);if(m)return m;n.pos=o}return null},le.regexp_eatClassStringDisjunction=function(n){var o=n.pos;if(n.eatChars([92,113])){if(n.eat(123)){var l=this.regexp_classStringDisjunctionContents(n);if(n.eat(125))return l}else n.raise("Invalid escape");n.pos=o}return null},le.regexp_classStringDisjunctionContents=function(n){for(var o=this.regexp_classString(n);n.eat(124);)this.regexp_classString(n)===ln&&(o=ln);return o},le.regexp_classString=function(n){for(var o=0;this.regexp_eatClassSetCharacter(n);)o++;return o===1?Kn:ln},le.regexp_eatClassSetCharacter=function(n){var o=n.pos;if(n.eat(92))return this.regexp_eatCharacterEscape(n)||this.regexp_eatClassSetReservedPunctuator(n)?!0:n.eat(98)?(n.lastIntValue=8,!0):(n.pos=o,!1);var l=n.current();return l<0||l===n.lookahead()&&Df(l)||Mf(l)?!1:(n.advance(),n.lastIntValue=l,!0)};function Df(n){return n===33||n>=35&&n<=38||n>=42&&n<=44||n===46||n>=58&&n<=64||n===94||n===96||n===126}function Mf(n){return n===40||n===41||n===45||n===47||n>=91&&n<=93||n>=123&&n<=125}le.regexp_eatClassSetReservedPunctuator=function(n){var o=n.current();return Ff(o)?(n.lastIntValue=o,n.advance(),!0):!1};function Ff(n){return n===33||n===35||n===37||n===38||n===44||n===45||n>=58&&n<=62||n===64||n===96||n===126}le.regexp_eatClassControlLetter=function(n){var o=n.current();return Cr(o)||o===95?(n.lastIntValue=o%32,n.advance(),!0):!1},le.regexp_eatHexEscapeSequence=function(n){var o=n.pos;if(n.eat(120)){if(this.regexp_eatFixedHexDigits(n,2))return!0;n.switchU&&n.raise("Invalid escape"),n.pos=o}return!1},le.regexp_eatDecimalDigits=function(n){var o=n.pos,l=0;for(n.lastIntValue=0;Cr(l=n.current());)n.lastIntValue=10*n.lastIntValue+(l-48),n.advance();return n.pos!==o};function Cr(n){return n>=48&&n<=57}le.regexp_eatHexDigits=function(n){var o=n.pos,l=0;for(n.lastIntValue=0;Hc(l=n.current());)n.lastIntValue=16*n.lastIntValue+Wc(l),n.advance();return n.pos!==o};function Hc(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function Wc(n){return n>=65&&n<=70?10+(n-65):n>=97&&n<=102?10+(n-97):n-48}le.regexp_eatLegacyOctalEscapeSequence=function(n){if(this.regexp_eatOctalDigit(n)){var o=n.lastIntValue;if(this.regexp_eatOctalDigit(n)){var l=n.lastIntValue;o<=3&&this.regexp_eatOctalDigit(n)?n.lastIntValue=o*64+l*8+n.lastIntValue:n.lastIntValue=o*8+l}else n.lastIntValue=o;return!0}return!1},le.regexp_eatOctalDigit=function(n){var o=n.current();return Gc(o)?(n.lastIntValue=o-48,n.advance(),!0):(n.lastIntValue=0,!1)};function Gc(n){return n>=48&&n<=55}le.regexp_eatFixedHexDigits=function(n,o){var l=n.pos;n.lastIntValue=0;for(var h=0;h<o;++h){var m=n.current();if(!Hc(m))return n.pos=l,!1;n.lastIntValue=16*n.lastIntValue+Wc(m),n.advance()}return!0};var wr=function(o){this.type=o.type,this.value=o.value,this.start=o.start,this.end=o.end,o.options.locations&&(this.loc=new St(o,o.startLoc,o.endLoc)),o.options.ranges&&(this.range=[o.start,o.end])},Ce=Ue.prototype;Ce.next=function(n){!n&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new wr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ce.getToken=function(){return this.next(),new wr(this)},typeof Symbol<"u"&&(Ce[Symbol.iterator]=function(){var n=this;return{next:function(){var o=n.getToken();return{done:o.type===c.eof,value:o}}}}),Ce.nextToken=function(){var n=this.curContext();if((!n||!n.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(c.eof);if(n.override)return n.override(this);this.readToken(this.fullCharCodeAtPos())},Ce.readToken=function(n){return f(n,this.options.ecmaVersion>=6)||n===92?this.readWord():this.getTokenFromCode(n)},Ce.fullCharCodeAt=function(n){var o=this.input.charCodeAt(n);if(o<=55295||o>=56320)return o;var l=this.input.charCodeAt(n+1);return l<=56319||l>=57344?o:(o<<10)+l-56613888},Ce.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},Ce.skipBlockComment=function(){var n=this.options.onComment&&this.curPosition(),o=this.pos,l=this.input.indexOf("*/",this.pos+=2);if(l===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=l+2,this.options.locations)for(var h=void 0,m=o;(h=ie(this.input,m,this.pos))>-1;)++this.curLine,m=this.lineStart=h;this.options.onComment&&this.options.onComment(!0,this.input.slice(o+2,l),o,this.pos,n,this.curPosition())},Ce.skipLineComment=function(n){for(var o=this.pos,l=this.options.onComment&&this.curPosition(),h=this.input.charCodeAt(this.pos+=n);this.pos<this.input.length&&!Y(h);)h=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(o+n,this.pos),o,this.pos,l,this.curPosition())},Ce.skipSpace=function(){e:for(;this.pos<this.input.length;){var n=this.input.charCodeAt(this.pos);switch(n){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(n>8&&n<14||n>=5760&&he.test(String.fromCharCode(n)))++this.pos;else break e}}},Ce.finishToken=function(n,o){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var l=this.type;this.type=n,this.value=o,this.updateContext(l)},Ce.readToken_dot=function(){var n=this.input.charCodeAt(this.pos+1);if(n>=48&&n<=57)return this.readNumber(!0);var o=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&n===46&&o===46?(this.pos+=3,this.finishToken(c.ellipsis)):(++this.pos,this.finishToken(c.dot))},Ce.readToken_slash=function(){var n=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):n===61?this.finishOp(c.assign,2):this.finishOp(c.slash,1)},Ce.readToken_mult_modulo_exp=function(n){var o=this.input.charCodeAt(this.pos+1),l=1,h=n===42?c.star:c.modulo;return this.options.ecmaVersion>=7&&n===42&&o===42&&(++l,h=c.starstar,o=this.input.charCodeAt(this.pos+2)),o===61?this.finishOp(c.assign,l+1):this.finishOp(h,l)},Ce.readToken_pipe_amp=function(n){var o=this.input.charCodeAt(this.pos+1);if(o===n){if(this.options.ecmaVersion>=12){var l=this.input.charCodeAt(this.pos+2);if(l===61)return this.finishOp(c.assign,3)}return this.finishOp(n===124?c.logicalOR:c.logicalAND,2)}return o===61?this.finishOp(c.assign,2):this.finishOp(n===124?c.bitwiseOR:c.bitwiseAND,1)},Ce.readToken_caret=function(){var n=this.input.charCodeAt(this.pos+1);return n===61?this.finishOp(c.assign,2):this.finishOp(c.bitwiseXOR,1)},Ce.readToken_plus_min=function(n){var o=this.input.charCodeAt(this.pos+1);return o===n?o===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(c.incDec,2):o===61?this.finishOp(c.assign,2):this.finishOp(c.plusMin,1)},Ce.readToken_lt_gt=function(n){var o=this.input.charCodeAt(this.pos+1),l=1;return o===n?(l=n===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+l)===61?this.finishOp(c.assign,l+1):this.finishOp(c.bitShift,l)):o===33&&n===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(o===61&&(l=2),this.finishOp(c.relational,l))},Ce.readToken_eq_excl=function(n){var o=this.input.charCodeAt(this.pos+1);return o===61?this.finishOp(c.equality,this.input.charCodeAt(this.pos+2)===61?3:2):n===61&&o===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(c.arrow)):this.finishOp(n===61?c.eq:c.prefix,1)},Ce.readToken_question=function(){var n=this.options.ecmaVersion;if(n>=11){var o=this.input.charCodeAt(this.pos+1);if(o===46){var l=this.input.charCodeAt(this.pos+2);if(l<48||l>57)return this.finishOp(c.questionDot,2)}if(o===63){if(n>=12){var h=this.input.charCodeAt(this.pos+2);if(h===61)return this.finishOp(c.assign,3)}return this.finishOp(c.coalesce,2)}}return this.finishOp(c.question,1)},Ce.readToken_numberSign=function(){var n=this.options.ecmaVersion,o=35;if(n>=13&&(++this.pos,o=this.fullCharCodeAtPos(),f(o,!0)||o===92))return this.finishToken(c.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+rt(o)+"'")},Ce.getTokenFromCode=function(n){switch(n){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(c.parenL);case 41:return++this.pos,this.finishToken(c.parenR);case 59:return++this.pos,this.finishToken(c.semi);case 44:return++this.pos,this.finishToken(c.comma);case 91:return++this.pos,this.finishToken(c.bracketL);case 93:return++this.pos,this.finishToken(c.bracketR);case 123:return++this.pos,this.finishToken(c.braceL);case 125:return++this.pos,this.finishToken(c.braceR);case 58:return++this.pos,this.finishToken(c.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(c.backQuote);case 48:var o=this.input.charCodeAt(this.pos+1);if(o===120||o===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(o===111||o===79)return this.readRadixNumber(8);if(o===98||o===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(n);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(n);case 124:case 38:return this.readToken_pipe_amp(n);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(n);case 60:case 62:return this.readToken_lt_gt(n);case 61:case 33:return this.readToken_eq_excl(n);case 63:return this.readToken_question();case 126:return this.finishOp(c.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+rt(n)+"'")},Ce.finishOp=function(n,o){var l=this.input.slice(this.pos,this.pos+o);return this.pos+=o,this.finishToken(n,l)},Ce.readRegexp=function(){for(var n,o,l=this.pos;;){this.pos>=this.input.length&&this.raise(l,"Unterminated regular expression");var h=this.input.charAt(this.pos);if(R.test(h)&&this.raise(l,"Unterminated regular expression"),n)n=!1;else{if(h==="[")o=!0;else if(h==="]"&&o)o=!1;else if(h==="/"&&!o)break;n=h==="\\"}++this.pos}var m=this.input.slice(l,this.pos);++this.pos;var E=this.pos,L=this.readWord1();this.containsEsc&&this.unexpected(E);var X=this.regexpState||(this.regexpState=new an(this));X.reset(l,m,L),this.validateRegExpFlags(X),this.validateRegExpPattern(X);var Q=null;try{Q=new RegExp(m,L)}catch{}return this.finishToken(c.regexp,{pattern:m,flags:L,value:Q})},Ce.readInt=function(n,o,l){for(var h=this.options.ecmaVersion>=12&&o===void 0,m=l&&this.input.charCodeAt(this.pos)===48,E=this.pos,L=0,X=0,Q=0,ke=o??1/0;Q<ke;++Q,++this.pos){var ge=this.input.charCodeAt(this.pos),nt=void 0;if(h&&ge===95){m&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),X===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Q===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),X=ge;continue}if(ge>=97?nt=ge-97+10:ge>=65?nt=ge-65+10:ge>=48&&ge<=57?nt=ge-48:nt=1/0,nt>=n)break;X=ge,L=L*n+nt}return h&&X===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===E||o!=null&&this.pos-E!==o?null:L};function Bf(n,o){return o?parseInt(n,8):parseFloat(n.replace(/_/g,""))}function zc(n){return typeof BigInt!="function"?null:BigInt(n.replace(/_/g,""))}Ce.readRadixNumber=function(n){var o=this.pos;this.pos+=2;var l=this.readInt(n);return l==null&&this.raise(this.start+2,"Expected number in radix "+n),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(l=zc(this.input.slice(o,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,l)},Ce.readNumber=function(n){var o=this.pos;!n&&this.readInt(10,void 0,!0)===null&&this.raise(o,"Invalid number");var l=this.pos-o>=2&&this.input.charCodeAt(o)===48;l&&this.strict&&this.raise(o,"Invalid number");var h=this.input.charCodeAt(this.pos);if(!l&&!n&&this.options.ecmaVersion>=11&&h===110){var m=zc(this.input.slice(o,this.pos));return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(c.num,m)}l&&/[89]/.test(this.input.slice(o,this.pos))&&(l=!1),h===46&&!l&&(++this.pos,this.readInt(10),h=this.input.charCodeAt(this.pos)),(h===69||h===101)&&!l&&(h=this.input.charCodeAt(++this.pos),(h===43||h===45)&&++this.pos,this.readInt(10)===null&&this.raise(o,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var E=Bf(this.input.slice(o,this.pos),l);return this.finishToken(c.num,E)},Ce.readCodePoint=function(){var n=this.input.charCodeAt(this.pos),o;if(n===123){this.options.ecmaVersion<6&&this.unexpected();var l=++this.pos;o=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,o>1114111&&this.invalidStringToken(l,"Code point out of bounds")}else o=this.readHexChar(4);return o},Ce.readString=function(n){for(var o="",l=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var h=this.input.charCodeAt(this.pos);if(h===n)break;h===92?(o+=this.input.slice(l,this.pos),o+=this.readEscapedChar(!1),l=this.pos):h===8232||h===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Y(h)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return o+=this.input.slice(l,this.pos++),this.finishToken(c.string,o)};var Xc={};Ce.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n===Xc)this.readInvalidTemplateToken();else throw n}this.inTemplateElement=!1},Ce.invalidStringToken=function(n,o){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Xc;this.raise(n,o)},Ce.readTmplToken=function(){for(var n="",o=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var l=this.input.charCodeAt(this.pos);if(l===96||l===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===c.template||this.type===c.invalidTemplate)?l===36?(this.pos+=2,this.finishToken(c.dollarBraceL)):(++this.pos,this.finishToken(c.backQuote)):(n+=this.input.slice(o,this.pos),this.finishToken(c.template,n));if(l===92)n+=this.input.slice(o,this.pos),n+=this.readEscapedChar(!0),o=this.pos;else if(Y(l)){switch(n+=this.input.slice(o,this.pos),++this.pos,l){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:n+=` +`;break;default:n+=String.fromCharCode(l);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),o=this.pos}else++this.pos}},Ce.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(c.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===` `&&++this.pos;case` -`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},be.readEscapedChar=function(n){var o=this.input.charCodeAt(++this.pos);switch(++this.pos,o){case 110:return` -`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return it(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),n){var l=this.pos-1;this.invalidStringToken(l,"Invalid escape sequence in template string")}default:if(o>=48&&o<=55){var f=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],m=parseInt(f,8);return m>255&&(f=f.slice(0,-1),m=parseInt(f,8)),this.pos+=f.length-1,o=this.input.charCodeAt(this.pos),(f!=="0"||o===56||o===57)&&(this.strict||n)&&this.invalidStringToken(this.pos-1-f.length,n?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(m)}return Y(o)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(o)}},be.readHexChar=function(n){var o=this.pos,l=this.readInt(16,n);return l===null&&this.invalidStringToken(o,"Bad character escape sequence"),l},be.readWord1=function(){this.containsEsc=!1;for(var n="",o=!0,l=this.pos,f=this.options.ecmaVersion>=6;this.pos<this.input.length;){var m=this.fullCharCodeAtPos();if(T(m,f))this.pos+=m<=65535?1:2;else if(m===92){this.containsEsc=!0,n+=this.input.slice(l,this.pos);var E=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var O=this.readCodePoint();(o?h:T)(O,f)||this.invalidStringToken(E,"Invalid Unicode escape"),n+=it(O),l=this.pos}else break;o=!1}return n+this.input.slice(l,this.pos)},be.readWord=function(){var n=this.readWord1(),o=c.name;return this.keywords.test(n)&&(o=U[n]),this.finishToken(o,n)};var jc="8.16.0";Ke.acorn={Parser:Ke,version:jc,defaultOptions:At,Position:pt,SourceLocation:wt,getLineInfo:jt,Node:Fn,TokenType:x,tokTypes:c,keywordTypes:U,TokContext:Nt,tokContexts:Ue,isIdentifierChar:T,isIdentifierStart:h,Token:xr,isNewLine:Y,lineBreak:R,lineBreakG:W,nonASCIIwhitespace:pe};function If(n,o){return Ke.parse(n,o)}function Ef(n,o,l){return Ke.parseExpressionAt(n,o,l)}function Af(n,o){return Ke.tokenizer(n,o)}e.Node=Fn,e.Parser=Ke,e.Position=pt,e.SourceLocation=wt,e.TokContext=Nt,e.Token=xr,e.TokenType=x,e.defaultOptions=At,e.getLineInfo=jt,e.isIdentifierChar=T,e.isIdentifierStart=h,e.isNewLine=Y,e.keywordTypes=U,e.lineBreak=R,e.lineBreakG=W,e.nonASCIIwhitespace=pe,e.parse=If,e.parseExpressionAt=Ef,e.tokContexts=Ue,e.tokTypes=c,e.tokenizer=Af,e.version=jc})});var mf=Z((Bo,df)=>{(function(e,t){typeof Bo=="object"&&typeof df<"u"?t(Bo,ff()):typeof define=="function"&&define.amd?define(["exports","acorn"],t):(e=typeof globalThis<"u"?globalThis:e||self,t((e.acorn=e.acorn||{},e.acorn.loose={}),e.acorn))})(Bo,function(e,t){"use strict";var s="\u2716";function i(p){return p.name===s}function r(){}var a=function(h,T){if(T===void 0&&(T={}),this.toks=this.constructor.BaseParser.tokenizer(h,T),this.options=this.toks.options,this.input=this.toks.input,this.tok=this.last={type:t.tokTypes.eof,start:0,end:0},this.tok.validateRegExpFlags=r,this.tok.validateRegExpPattern=r,this.options.locations){var x=this.toks.curPosition();this.tok.loc=new t.SourceLocation(this.toks,x,x)}this.ahead=[],this.context=[],this.curIndent=0,this.curLineStart=0,this.nextLineStart=this.lineEnd(this.curLineStart)+1,this.inAsync=!1,this.inGenerator=!1,this.inFunction=!1};a.prototype.startNode=function(){return new t.Node(this.toks,this.tok.start,this.options.locations?this.tok.loc.start:null)},a.prototype.storeCurrentPos=function(){return this.options.locations?[this.tok.start,this.tok.loc.start]:this.tok.start},a.prototype.startNodeAt=function(h){return this.options.locations?new t.Node(this.toks,h[0],h[1]):new t.Node(this.toks,h)},a.prototype.finishNode=function(h,T){return h.type=T,h.end=this.last.end,this.options.locations&&(h.loc.end=this.last.loc.end),this.options.ranges&&(h.range[1]=this.last.end),h},a.prototype.dummyNode=function(h){var T=this.startNode();return T.type=h,T.end=T.start,this.options.locations&&(T.loc.end=T.loc.start),this.options.ranges&&(T.range[1]=T.start),this.last={type:t.tokTypes.name,start:T.start,end:T.start,loc:T.loc},T},a.prototype.dummyIdent=function(){var h=this.dummyNode("Identifier");return h.name=s,h},a.prototype.dummyString=function(){var h=this.dummyNode("Literal");return h.value=h.raw=s,h},a.prototype.eat=function(h){return this.tok.type===h?(this.next(),!0):!1},a.prototype.isContextual=function(h){return this.tok.type===t.tokTypes.name&&this.tok.value===h},a.prototype.eatContextual=function(h){return this.tok.value===h&&this.eat(t.tokTypes.name)},a.prototype.canInsertSemicolon=function(){return this.tok.type===t.tokTypes.eof||this.tok.type===t.tokTypes.braceR||t.lineBreak.test(this.input.slice(this.last.end,this.tok.start))},a.prototype.semicolon=function(){return this.eat(t.tokTypes.semi)},a.prototype.expect=function(h){if(this.eat(h))return!0;for(var T=1;T<=2;T++)if(this.lookAhead(T).type===h){for(var x=0;x<T;x++)this.next();return!0}},a.prototype.pushCx=function(){this.context.push(this.curIndent)},a.prototype.popCx=function(){this.curIndent=this.context.pop()},a.prototype.lineEnd=function(h){for(;h<this.input.length&&!t.isNewLine(this.input.charCodeAt(h));)++h;return h},a.prototype.indentationAfter=function(h){for(var T=0;;++h){var x=this.input.charCodeAt(h);if(x===32)++T;else if(x===9)T+=this.options.tabSize;else return T}},a.prototype.closes=function(h,T,x,w){return this.tok.type===h||this.tok.type===t.tokTypes.eof?!0:x!==this.curLineStart&&this.curIndent<T&&this.tokenStartsLine()&&(!w||this.nextLineStart>=this.input.length||this.indentationAfter(this.nextLineStart)<T)},a.prototype.tokenStartsLine=function(){for(var h=this.tok.start-1;h>=this.curLineStart;--h){var T=this.input.charCodeAt(h);if(T!==9&&T!==32)return!1}return!0},a.prototype.extend=function(h,T){this[h]=T(this[h])},a.prototype.parse=function(){return this.next(),this.parseTopLevel()},a.extend=function(){for(var h=[],T=arguments.length;T--;)h[T]=arguments[T];for(var x=this,w=0;w<h.length;w++)x=h[w](x);return x},a.parse=function(h,T){return new this(h,T).parse()},a.BaseParser=t.Parser;var u=a.prototype;function d(p){return p<14&&p>8||p===32||p===160||t.isNewLine(p)}u.next=function(){if(this.last=this.tok,this.ahead.length?this.tok=this.ahead.shift():this.tok=this.readToken(),this.tok.start>=this.nextLineStart){for(;this.tok.start>=this.nextLineStart;)this.curLineStart=this.nextLineStart,this.nextLineStart=this.lineEnd(this.curLineStart)+1;this.curIndent=this.indentationAfter(this.curLineStart)}},u.readToken=function(){for(;;)try{return this.toks.next(),this.toks.type===t.tokTypes.dot&&this.input.substr(this.toks.end,1)==="."&&this.options.ecmaVersion>=6&&(this.toks.end++,this.toks.type=t.tokTypes.ellipsis),new t.Token(this.toks)}catch(S){if(!(S instanceof SyntaxError))throw S;var p=S.message,h=S.raisedAt,T=!0;if(/unterminated/i.test(p))if(h=this.lineEnd(S.pos+1),/string/.test(p))T={start:S.pos,end:h,type:t.tokTypes.string,value:this.input.slice(S.pos+1,h)};else if(/regular expr/i.test(p)){var x=this.input.slice(S.pos,h);try{x=new RegExp(x)}catch{}T={start:S.pos,end:h,type:t.tokTypes.regexp,value:x}}else/template/.test(p)?T={start:S.pos,end:h,type:t.tokTypes.template,value:this.input.slice(S.pos,h)}:T=!1;else if(/invalid (unicode|regexp|number)|expecting unicode|octal literal|is reserved|directly after number|expected number in radix|numeric separator/i.test(p))for(;h<this.input.length&&!d(this.input.charCodeAt(h));)++h;else if(/character escape|expected hexadecimal/i.test(p))for(;h<this.input.length;){var w=this.input.charCodeAt(h++);if(w===34||w===39||t.isNewLine(w))break}else if(/unexpected character/i.test(p))h++,T=!1;else if(/regular expression/i.test(p))T=!0;else throw S;if(this.resetTo(h),T===!0&&(T={start:h,end:h,type:t.tokTypes.name,value:s}),T)return this.options.locations&&(T.loc=new t.SourceLocation(this.toks,t.getLineInfo(this.input,T.start),t.getLineInfo(this.input,T.end))),T}},u.resetTo=function(p){this.toks.pos=p,this.toks.containsEsc=!1;var h=this.input.charAt(p-1);if(this.toks.exprAllowed=!h||/[[{(,;:?/*=+\-~!|&%^<>]/.test(h)||/[enwfd]/.test(h)&&/\b(case|else|return|throw|new|in|(instance|type)?of|delete|void)$/.test(this.input.slice(p-10,p)),this.options.locations){this.toks.curLine=1,this.toks.lineStart=t.lineBreakG.lastIndex=0;for(var T;(T=t.lineBreakG.exec(this.input))&&T.index<p;)++this.toks.curLine,this.toks.lineStart=T.index+T[0].length}},u.lookAhead=function(p){for(;p>this.ahead.length;)this.ahead.push(this.readToken());return this.ahead[p-1]};var y=a.prototype;y.parseTopLevel=function(){var p=this.startNodeAt(this.options.locations?[0,t.getLineInfo(this.input,0)]:0);for(p.body=[];this.tok.type!==t.tokTypes.eof;)p.body.push(this.parseStatement());return this.toks.adaptDirectivePrologue(p.body),this.last=this.tok,p.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(p,"Program")},y.parseStatement=function(){var p=this.tok.type,h=this.startNode(),T;switch(this.toks.isLet()&&(p=t.tokTypes._var,T="let"),p){case t.tokTypes._break:case t.tokTypes._continue:this.next();var x=p===t.tokTypes._break;return this.semicolon()||this.canInsertSemicolon()?h.label=null:(h.label=this.tok.type===t.tokTypes.name?this.parseIdent():null,this.semicolon()),this.finishNode(h,x?"BreakStatement":"ContinueStatement");case t.tokTypes._debugger:return this.next(),this.semicolon(),this.finishNode(h,"DebuggerStatement");case t.tokTypes._do:return this.next(),h.body=this.parseStatement(),h.test=this.eat(t.tokTypes._while)?this.parseParenExpression():this.dummyIdent(),this.semicolon(),this.finishNode(h,"DoWhileStatement");case t.tokTypes._for:this.next();var w=this.options.ecmaVersion>=9&&this.eatContextual("await");if(this.pushCx(),this.expect(t.tokTypes.parenL),this.tok.type===t.tokTypes.semi)return this.parseFor(h,null);var S=this.toks.isLet(),A=this.toks.isAwaitUsing(!0),U=!A&&this.toks.isUsing(!0);if(S||this.tok.type===t.tokTypes._var||this.tok.type===t.tokTypes._const||U||A){var M=S?"let":U?"using":A?"await using":this.tok.value,c=this.startNode();return U||A?(A&&this.next(),this.parseVar(c,!0,M)):c=this.parseVar(c,!0,M),c.declarations.length===1&&(this.tok.type===t.tokTypes._in||this.isContextual("of"))?(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(h.await=w),this.parseForIn(h,c)):this.parseFor(h,c)}var R=this.parseExpression(!0);return this.tok.type===t.tokTypes._in||this.isContextual("of")?(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(h.await=w),this.parseForIn(h,this.toAssignable(R))):this.parseFor(h,R);case t.tokTypes._function:return this.next(),this.parseFunction(h,!0);case t.tokTypes._if:return this.next(),h.test=this.parseParenExpression(),h.consequent=this.parseStatement(),h.alternate=this.eat(t.tokTypes._else)?this.parseStatement():null,this.finishNode(h,"IfStatement");case t.tokTypes._return:return this.next(),this.eat(t.tokTypes.semi)||this.canInsertSemicolon()?h.argument=null:(h.argument=this.parseExpression(),this.semicolon()),this.finishNode(h,"ReturnStatement");case t.tokTypes._switch:var W=this.curIndent,Y=this.curLineStart;this.next(),h.discriminant=this.parseParenExpression(),h.cases=[],this.pushCx(),this.expect(t.tokTypes.braceL);for(var ie;!this.closes(t.tokTypes.braceR,W,Y,!0);)if(this.tok.type===t.tokTypes._case||this.tok.type===t.tokTypes._default){var pe=this.tok.type===t.tokTypes._case;ie&&this.finishNode(ie,"SwitchCase"),h.cases.push(ie=this.startNode()),ie.consequent=[],this.next(),pe?ie.test=this.parseExpression():ie.test=null,this.expect(t.tokTypes.colon)}else ie||(h.cases.push(ie=this.startNode()),ie.consequent=[],ie.test=null),ie.consequent.push(this.parseStatement());return ie&&this.finishNode(ie,"SwitchCase"),this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(h,"SwitchStatement");case t.tokTypes._throw:return this.next(),h.argument=this.parseExpression(),this.semicolon(),this.finishNode(h,"ThrowStatement");case t.tokTypes._try:if(this.next(),h.block=this.parseBlock(),h.handler=null,this.tok.type===t.tokTypes._catch){var ae=this.startNode();this.next(),this.eat(t.tokTypes.parenL)?(ae.param=this.toAssignable(this.parseExprAtom(),!0),this.expect(t.tokTypes.parenR)):ae.param=null,ae.body=this.parseBlock(),h.handler=this.finishNode(ae,"CatchClause")}return h.finalizer=this.eat(t.tokTypes._finally)?this.parseBlock():null,!h.handler&&!h.finalizer?h.block:this.finishNode(h,"TryStatement");case t.tokTypes._var:case t.tokTypes._const:return this.parseVar(h,!1,T||this.tok.value);case t.tokTypes._while:return this.next(),h.test=this.parseParenExpression(),h.body=this.parseStatement(),this.finishNode(h,"WhileStatement");case t.tokTypes._with:return this.next(),h.object=this.parseParenExpression(),h.body=this.parseStatement(),this.finishNode(h,"WithStatement");case t.tokTypes.braceL:return this.parseBlock();case t.tokTypes.semi:return this.next(),this.finishNode(h,"EmptyStatement");case t.tokTypes._class:return this.parseClass(!0);case t.tokTypes._import:if(this.options.ecmaVersion>10){var He=this.lookAhead(1).type;if(He===t.tokTypes.parenL||He===t.tokTypes.dot)return h.expression=this.parseExpression(),this.semicolon(),this.finishNode(h,"ExpressionStatement")}return this.parseImport();case t.tokTypes._export:return this.parseExport();default:if(this.toks.isAsyncFunction())return this.next(),this.next(),this.parseFunction(h,!0,!0);if(this.toks.isUsing(!1))return this.parseVar(h,!1,"using");if(this.toks.isAwaitUsing(!1))return this.next(),this.parseVar(h,!1,"await using");var qe=this.parseExpression();return i(qe)?(this.next(),this.tok.type===t.tokTypes.eof?this.finishNode(h,"EmptyStatement"):this.parseStatement()):p===t.tokTypes.name&&qe.type==="Identifier"&&this.eat(t.tokTypes.colon)?(h.body=this.parseStatement(),h.label=qe,this.finishNode(h,"LabeledStatement")):(h.expression=qe,this.semicolon(),this.finishNode(h,"ExpressionStatement"))}},y.parseBlock=function(){var p=this.startNode();this.pushCx(),this.expect(t.tokTypes.braceL);var h=this.curIndent,T=this.curLineStart;for(p.body=[];!this.closes(t.tokTypes.braceR,h,T,!0);)p.body.push(this.parseStatement());return this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(p,"BlockStatement")},y.parseFor=function(p,h){return p.init=h,p.test=p.update=null,this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.semi&&(p.test=this.parseExpression()),this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.parenR&&(p.update=this.parseExpression()),this.popCx(),this.expect(t.tokTypes.parenR),p.body=this.parseStatement(),this.finishNode(p,"ForStatement")},y.parseForIn=function(p,h){var T=this.tok.type===t.tokTypes._in?"ForInStatement":"ForOfStatement";return this.next(),p.left=h,p.right=this.parseExpression(),this.popCx(),this.expect(t.tokTypes.parenR),p.body=this.parseStatement(),this.finishNode(p,T)},y.parseVar=function(p,h,T){p.kind=T,this.next(),p.declarations=[];do{var x=this.startNode();x.id=this.options.ecmaVersion>=6?this.toAssignable(this.parseExprAtom(),!0):this.parseIdent(),x.init=this.eat(t.tokTypes.eq)?this.parseMaybeAssign(h):null,p.declarations.push(this.finishNode(x,"VariableDeclarator"))}while(this.eat(t.tokTypes.comma));if(!p.declarations.length){var w=this.startNode();w.id=this.dummyIdent(),p.declarations.push(this.finishNode(w,"VariableDeclarator"))}return h||this.semicolon(),this.finishNode(p,"VariableDeclaration")},y.parseClass=function(p){var h=this.startNode();this.next(),this.tok.type===t.tokTypes.name?h.id=this.parseIdent():p===!0?h.id=this.dummyIdent():h.id=null,h.superClass=this.eat(t.tokTypes._extends)?this.parseExpression():null,h.body=this.startNode(),h.body.body=[],this.pushCx();var T=this.curIndent+1,x=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<T&&(T=this.curIndent,x=this.curLineStart);!this.closes(t.tokTypes.braceR,T,x);){var w=this.parseClassElement();w&&h.body.body.push(w)}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.semicolon(),this.finishNode(h.body,"ClassBody"),this.finishNode(h,p?"ClassDeclaration":"ClassExpression")},y.parseClassElement=function(){if(this.eat(t.tokTypes.semi))return null;var p=this.options,h=p.ecmaVersion,T=p.locations,x=this.curIndent,w=this.curLineStart,S=this.startNode(),A="",U=!1,M=!1,c="method",R=!1;if(this.eatContextual("static")){if(h>=13&&this.eat(t.tokTypes.braceL))return this.parseClassStaticBlock(S),S;this.isClassElementNameStart()||this.toks.type===t.tokTypes.star?R=!0:A="static"}if(S.static=R,!A&&h>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.toks.type===t.tokTypes.star)&&!this.canInsertSemicolon()?M=!0:A="async"),!A){U=this.eat(t.tokTypes.star);var W=this.toks.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?c=W:A=W)}if(A)S.computed=!1,S.key=this.startNodeAt(T?[this.toks.lastTokStart,this.toks.lastTokStartLoc]:this.toks.lastTokStart),S.key.name=A,this.finishNode(S.key,"Identifier");else if(this.parseClassElementName(S),i(S.key))return i(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma),null;if(h<13||this.toks.type===t.tokTypes.parenL||c!=="method"||U||M){var Y=!S.computed&&!S.static&&!U&&!M&&c==="method"&&(S.key.type==="Identifier"&&S.key.name==="constructor"||S.key.type==="Literal"&&S.key.value==="constructor");S.kind=Y?"constructor":c,S.value=this.parseMethod(U,M),this.finishNode(S,"MethodDefinition")}else{if(this.eat(t.tokTypes.eq))if(this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine())S.value=null;else{var ie=this.inAsync,pe=this.inGenerator;this.inAsync=!1,this.inGenerator=!1,S.value=this.parseMaybeAssign(),this.inAsync=ie,this.inGenerator=pe}else S.value=null;this.semicolon(),this.finishNode(S,"PropertyDefinition")}return S},y.parseClassStaticBlock=function(p){var h=this.curIndent,T=this.curLineStart;for(p.body=[],this.pushCx();!this.closes(t.tokTypes.braceR,h,T,!0);)p.body.push(this.parseStatement());return this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(p,"StaticBlock")},y.isClassElementNameStart=function(){return this.toks.isClassElementNameStart()},y.parseClassElementName=function(p){this.toks.type===t.tokTypes.privateId?(p.computed=!1,p.key=this.parsePrivateIdent()):this.parsePropertyName(p)},y.parseFunction=function(p,h,T){var x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(p),this.options.ecmaVersion>=6&&(p.generator=this.eat(t.tokTypes.star)),this.options.ecmaVersion>=8&&(p.async=!!T),this.tok.type===t.tokTypes.name?p.id=this.parseIdent():h===!0&&(p.id=this.dummyIdent()),this.inAsync=p.async,this.inGenerator=p.generator,this.inFunction=!0,p.params=this.parseFunctionParams(),p.body=this.parseBlock(),this.toks.adaptDirectivePrologue(p.body.body),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(p,h?"FunctionDeclaration":"FunctionExpression")},y.parseExport=function(){var p=this.startNode();if(this.next(),this.eat(t.tokTypes.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?p.exported=this.parseExprAtom():p.exported=null),p.source=this.eatContextual("from")?this.parseExprAtom():this.dummyString(),this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ExportAllDeclaration");if(this.eat(t.tokTypes._default)){var h;if(this.tok.type===t.tokTypes._function||(h=this.toks.isAsyncFunction())){var T=this.startNode();this.next(),h&&this.next(),p.declaration=this.parseFunction(T,"nullableID",h)}else this.tok.type===t.tokTypes._class?p.declaration=this.parseClass("nullableID"):(p.declaration=this.parseMaybeAssign(),this.semicolon());return this.finishNode(p,"ExportDefaultDeclaration")}return this.tok.type.keyword||this.toks.isLet()||this.toks.isAsyncFunction()?(p.declaration=this.parseStatement(),p.specifiers=[],p.source=null):(p.declaration=null,p.specifiers=this.parseExportSpecifierList(),p.source=this.eatContextual("from")?this.parseExprAtom():null,this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon()),this.finishNode(p,"ExportNamedDeclaration")},y.parseImport=function(){var p=this.startNode();if(this.next(),this.tok.type===t.tokTypes.string)p.specifiers=[],p.source=this.parseExprAtom();else{var h;this.tok.type===t.tokTypes.name&&this.tok.value!=="from"&&(h=this.startNode(),h.local=this.parseIdent(),this.finishNode(h,"ImportDefaultSpecifier"),this.eat(t.tokTypes.comma)),p.specifiers=this.parseImportSpecifiers(),p.source=this.eatContextual("from")&&this.tok.type===t.tokTypes.string?this.parseExprAtom():this.dummyString(),h&&p.specifiers.unshift(h)}return this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ImportDeclaration")},y.parseImportSpecifiers=function(){var p=[];if(this.tok.type===t.tokTypes.star){var h=this.startNode();this.next(),h.local=this.eatContextual("as")?this.parseIdent():this.dummyIdent(),p.push(this.finishNode(h,"ImportNamespaceSpecifier"))}else{var T=this.curIndent,x=this.curLineStart,w=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>w&&(w=this.curLineStart);!this.closes(t.tokTypes.braceR,T+(this.curLineStart<=w?1:0),x);){var S=this.startNode();if(this.eat(t.tokTypes.star))S.local=this.eatContextual("as")?this.parseModuleExportName():this.dummyIdent(),this.finishNode(S,"ImportNamespaceSpecifier");else{if(this.isContextual("from")||(S.imported=this.parseModuleExportName(),i(S.imported)))break;S.local=this.eatContextual("as")?this.parseModuleExportName():S.imported,this.finishNode(S,"ImportSpecifier")}p.push(S),this.eat(t.tokTypes.comma)}this.eat(t.tokTypes.braceR),this.popCx()}return p},y.parseWithClause=function(){var p=[];if(!this.eat(t.tokTypes._with))return p;var h=this.curIndent,T=this.curLineStart,x=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>x&&(x=this.curLineStart);!this.closes(t.tokTypes.braceR,h+(this.curLineStart<=x?1:0),T);){var w=this.startNode();if(w.key=this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent(),this.eat(t.tokTypes.colon))this.tok.type===t.tokTypes.string?w.value=this.parseExprAtom():w.value=this.dummyString();else{if(i(w.key))break;if(this.tok.type===t.tokTypes.string)w.value=this.parseExprAtom();else break}p.push(this.finishNode(w,"ImportAttribute")),this.eat(t.tokTypes.comma)}return this.eat(t.tokTypes.braceR),this.popCx(),p},y.parseExportSpecifierList=function(){var p=[],h=this.curIndent,T=this.curLineStart,x=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>x&&(x=this.curLineStart);!this.closes(t.tokTypes.braceR,h+(this.curLineStart<=x?1:0),T)&&!this.isContextual("from");){var w=this.startNode();if(w.local=this.parseModuleExportName(),i(w.local))break;w.exported=this.eatContextual("as")?this.parseModuleExportName():w.local,this.finishNode(w,"ExportSpecifier"),p.push(w),this.eat(t.tokTypes.comma)}return this.eat(t.tokTypes.braceR),this.popCx(),p},y.parseModuleExportName=function(){return this.options.ecmaVersion>=13&&this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent()};var g=a.prototype;g.checkLVal=function(p){if(!p)return p;switch(p.type){case"Identifier":case"MemberExpression":return p;case"ParenthesizedExpression":return p.expression=this.checkLVal(p.expression),p;default:return this.dummyIdent()}},g.parseExpression=function(p){var h=this.storeCurrentPos(),T=this.parseMaybeAssign(p);if(this.tok.type===t.tokTypes.comma){var x=this.startNodeAt(h);for(x.expressions=[T];this.eat(t.tokTypes.comma);)x.expressions.push(this.parseMaybeAssign(p));return this.finishNode(x,"SequenceExpression")}return T},g.parseParenExpression=function(){this.pushCx(),this.expect(t.tokTypes.parenL);var p=this.parseExpression();return this.popCx(),this.expect(t.tokTypes.parenR),p},g.parseMaybeAssign=function(p){if(this.inGenerator&&this.toks.isContextual("yield")){var h=this.startNode();return this.next(),this.semicolon()||this.canInsertSemicolon()||this.tok.type!==t.tokTypes.star&&!this.tok.type.startsExpr?(h.delegate=!1,h.argument=null):(h.delegate=this.eat(t.tokTypes.star),h.argument=this.parseMaybeAssign()),this.finishNode(h,"YieldExpression")}var T=this.storeCurrentPos(),x=this.parseMaybeConditional(p);if(this.tok.type.isAssign){var w=this.startNodeAt(T);return w.operator=this.tok.value,w.left=this.tok.type===t.tokTypes.eq?this.toAssignable(x):this.checkLVal(x),this.next(),w.right=this.parseMaybeAssign(p),this.finishNode(w,"AssignmentExpression")}return x},g.parseMaybeConditional=function(p){var h=this.storeCurrentPos(),T=this.parseExprOps(p);if(this.eat(t.tokTypes.question)){var x=this.startNodeAt(h);return x.test=T,x.consequent=this.parseMaybeAssign(),x.alternate=this.expect(t.tokTypes.colon)?this.parseMaybeAssign(p):this.dummyIdent(),this.finishNode(x,"ConditionalExpression")}return T},g.parseExprOps=function(p){var h=this.storeCurrentPos(),T=this.curIndent,x=this.curLineStart;return this.parseExprOp(this.parseMaybeUnary(!1),h,-1,p,T,x)},g.parseExprOp=function(p,h,T,x,w,S){if(this.curLineStart!==S&&this.curIndent<w&&this.tokenStartsLine())return p;var A=this.tok.type.binop;if(A!=null&&(!x||this.tok.type!==t.tokTypes._in)&&A>T){var U=this.startNodeAt(h);if(U.left=p,U.operator=this.tok.value,this.next(),this.curLineStart!==S&&this.curIndent<w&&this.tokenStartsLine())U.right=this.dummyIdent();else{var M=this.storeCurrentPos();U.right=this.parseExprOp(this.parseMaybeUnary(!1),M,A,x,w,S)}return this.finishNode(U,/&&|\|\||\?\?/.test(U.operator)?"LogicalExpression":"BinaryExpression"),this.parseExprOp(U,h,T,x,w,S)}return p},g.parseMaybeUnary=function(p){var h=this.storeCurrentPos(),T;if(this.options.ecmaVersion>=8&&this.toks.isContextual("await")&&(this.inAsync||this.toks.inModule&&this.options.ecmaVersion>=13||!this.inFunction&&this.options.allowAwaitOutsideFunction))T=this.parseAwait(),p=!0;else if(this.tok.type.prefix){var x=this.startNode(),w=this.tok.type===t.tokTypes.incDec;w||(p=!0),x.operator=this.tok.value,x.prefix=!0,this.next(),x.argument=this.parseMaybeUnary(!0),w&&(x.argument=this.checkLVal(x.argument)),T=this.finishNode(x,w?"UpdateExpression":"UnaryExpression")}else if(this.tok.type===t.tokTypes.ellipsis){var S=this.startNode();this.next(),S.argument=this.parseMaybeUnary(p),T=this.finishNode(S,"SpreadElement")}else if(!p&&this.tok.type===t.tokTypes.privateId)T=this.parsePrivateIdent();else for(T=this.parseExprSubscripts();this.tok.type.postfix&&!this.canInsertSemicolon();){var A=this.startNodeAt(h);A.operator=this.tok.value,A.prefix=!1,A.argument=this.checkLVal(T),this.next(),T=this.finishNode(A,"UpdateExpression")}if(!p&&this.eat(t.tokTypes.starstar)){var U=this.startNodeAt(h);return U.operator="**",U.left=T,U.right=this.parseMaybeUnary(!1),this.finishNode(U,"BinaryExpression")}return T},g.parseExprSubscripts=function(){var p=this.storeCurrentPos();return this.parseSubscripts(this.parseExprAtom(),p,!1,this.curIndent,this.curLineStart)},g.parseSubscripts=function(p,h,T,x,w){for(var S=this.options.ecmaVersion>=11,A=!1;;){if(this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine())if(this.tok.type===t.tokTypes.dot&&this.curIndent===x)--x;else break;var U=p.type==="Identifier"&&p.name==="async"&&!this.canInsertSemicolon(),M=S&&this.eat(t.tokTypes.questionDot);if(M&&(A=!0),M&&this.tok.type!==t.tokTypes.parenL&&this.tok.type!==t.tokTypes.bracketL&&this.tok.type!==t.tokTypes.backQuote||this.eat(t.tokTypes.dot)){var c=this.startNodeAt(h);c.object=p,this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine()?c.property=this.dummyIdent():c.property=this.parsePropertyAccessor()||this.dummyIdent(),c.computed=!1,S&&(c.optional=M),p=this.finishNode(c,"MemberExpression")}else if(this.tok.type===t.tokTypes.bracketL){this.pushCx(),this.next();var R=this.startNodeAt(h);R.object=p,R.property=this.parseExpression(),R.computed=!0,S&&(R.optional=M),this.popCx(),this.expect(t.tokTypes.bracketR),p=this.finishNode(R,"MemberExpression")}else if(!T&&this.tok.type===t.tokTypes.parenL){var W=this.parseExprList(t.tokTypes.parenR);if(U&&this.eat(t.tokTypes.arrow))return this.parseArrowExpression(this.startNodeAt(h),W,!0);var Y=this.startNodeAt(h);Y.callee=p,Y.arguments=W,S&&(Y.optional=M),p=this.finishNode(Y,"CallExpression")}else if(this.tok.type===t.tokTypes.backQuote){var ie=this.startNodeAt(h);ie.tag=p,ie.quasi=this.parseTemplate(),p=this.finishNode(ie,"TaggedTemplateExpression")}else break}if(A){var pe=this.startNodeAt(h);pe.expression=p,p=this.finishNode(pe,"ChainExpression")}return p},g.parseExprAtom=function(){var p;switch(this.tok.type){case t.tokTypes._this:case t.tokTypes._super:var h=this.tok.type===t.tokTypes._this?"ThisExpression":"Super";return p=this.startNode(),this.next(),this.finishNode(p,h);case t.tokTypes.name:var T=this.storeCurrentPos(),x=this.parseIdent(),w=!1;if(x.name==="async"&&!this.canInsertSemicolon()){if(this.eat(t.tokTypes._function))return this.toks.overrideContext(t.tokContexts.f_expr),this.parseFunction(this.startNodeAt(T),!1,!0);this.tok.type===t.tokTypes.name&&(x=this.parseIdent(),w=!0)}return this.eat(t.tokTypes.arrow)?this.parseArrowExpression(this.startNodeAt(T),[x],w):x;case t.tokTypes.regexp:p=this.startNode();var S=this.tok.value;return p.regex={pattern:S.pattern,flags:S.flags},p.value=S.value,p.raw=this.input.slice(this.tok.start,this.tok.end),this.next(),this.finishNode(p,"Literal");case t.tokTypes.num:case t.tokTypes.string:return p=this.startNode(),p.value=this.tok.value,p.raw=this.input.slice(this.tok.start,this.tok.end),this.tok.type===t.tokTypes.num&&p.raw.charCodeAt(p.raw.length-1)===110&&(p.bigint=p.value!=null?p.value.toString():p.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(p,"Literal");case t.tokTypes._null:case t.tokTypes._true:case t.tokTypes._false:return p=this.startNode(),p.value=this.tok.type===t.tokTypes._null?null:this.tok.type===t.tokTypes._true,p.raw=this.tok.type.keyword,this.next(),this.finishNode(p,"Literal");case t.tokTypes.parenL:var A=this.storeCurrentPos();this.next();var U=this.parseExpression();if(this.expect(t.tokTypes.parenR),this.eat(t.tokTypes.arrow)){var M=U.expressions||[U];return M.length&&i(M[M.length-1])&&M.pop(),this.parseArrowExpression(this.startNodeAt(A),M)}if(this.options.preserveParens){var c=this.startNodeAt(A);c.expression=U,U=this.finishNode(c,"ParenthesizedExpression")}return U;case t.tokTypes.bracketL:return p=this.startNode(),p.elements=this.parseExprList(t.tokTypes.bracketR,!0),this.finishNode(p,"ArrayExpression");case t.tokTypes.braceL:return this.toks.overrideContext(t.tokContexts.b_expr),this.parseObj();case t.tokTypes._class:return this.parseClass(!1);case t.tokTypes._function:return p=this.startNode(),this.next(),this.parseFunction(p,!1);case t.tokTypes._new:return this.parseNew();case t.tokTypes.backQuote:return this.parseTemplate();case t.tokTypes._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.dummyIdent();default:return this.dummyIdent()}},g.parseExprImport=function(){var p=this.startNode(),h=this.parseIdent(!0);switch(this.tok.type){case t.tokTypes.parenL:return this.parseDynamicImport(p);case t.tokTypes.dot:return p.meta=h,this.parseImportMeta(p);default:return p.name="import",this.finishNode(p,"Identifier")}},g.parseDynamicImport=function(p){var h=this.parseExprList(t.tokTypes.parenR);return p.source=h[0]||this.dummyString(),p.options=h[1]||null,this.finishNode(p,"ImportExpression")},g.parseImportMeta=function(p){return this.next(),p.property=this.parseIdent(!0),this.finishNode(p,"MetaProperty")},g.parseNew=function(){var p=this.startNode(),h=this.curIndent,T=this.curLineStart,x=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(t.tokTypes.dot))return p.meta=x,p.property=this.parseIdent(!0),this.finishNode(p,"MetaProperty");var w=this.storeCurrentPos();return p.callee=this.parseSubscripts(this.parseExprAtom(),w,!0,h,T),this.tok.type===t.tokTypes.parenL?p.arguments=this.parseExprList(t.tokTypes.parenR):p.arguments=[],this.finishNode(p,"NewExpression")},g.parseTemplateElement=function(){var p=this.startNode();return this.tok.type===t.tokTypes.invalidTemplate?p.value={raw:this.tok.value,cooked:null}:p.value={raw:this.input.slice(this.tok.start,this.tok.end).replace(/\r\n?/g,` -`),cooked:this.tok.value},this.next(),p.tail=this.tok.type===t.tokTypes.backQuote,this.finishNode(p,"TemplateElement")},g.parseTemplate=function(){var p=this.startNode();this.next(),p.expressions=[];var h=this.parseTemplateElement();for(p.quasis=[h];!h.tail;)this.next(),p.expressions.push(this.parseExpression()),this.expect(t.tokTypes.braceR)?h=this.parseTemplateElement():(h=this.startNode(),h.value={cooked:"",raw:""},h.tail=!0,this.finishNode(h,"TemplateElement")),p.quasis.push(h);return this.expect(t.tokTypes.backQuote),this.finishNode(p,"TemplateLiteral")},g.parseObj=function(){var p=this.startNode();p.properties=[],this.pushCx();var h=this.curIndent+1,T=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<h&&(h=this.curIndent,T=this.curLineStart);!this.closes(t.tokTypes.braceR,h,T);){var x=this.startNode(),w=void 0,S=void 0,A=void 0;if(this.options.ecmaVersion>=9&&this.eat(t.tokTypes.ellipsis)){x.argument=this.parseMaybeAssign(),p.properties.push(this.finishNode(x,"SpreadElement")),this.eat(t.tokTypes.comma);continue}if(this.options.ecmaVersion>=6&&(A=this.storeCurrentPos(),x.method=!1,x.shorthand=!1,w=this.eat(t.tokTypes.star)),this.parsePropertyName(x),this.toks.isAsyncProp(x)?(S=!0,w=this.options.ecmaVersion>=9&&this.eat(t.tokTypes.star),this.parsePropertyName(x)):S=!1,i(x.key)){i(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma);continue}if(this.eat(t.tokTypes.colon))x.kind="init",x.value=this.parseMaybeAssign();else if(this.options.ecmaVersion>=6&&(this.tok.type===t.tokTypes.parenL||this.tok.type===t.tokTypes.braceL))x.kind="init",x.method=!0,x.value=this.parseMethod(w,S);else if(this.options.ecmaVersion>=5&&x.key.type==="Identifier"&&!x.computed&&(x.key.name==="get"||x.key.name==="set")&&this.tok.type!==t.tokTypes.comma&&this.tok.type!==t.tokTypes.braceR&&this.tok.type!==t.tokTypes.eq)x.kind=x.key.name,this.parsePropertyName(x),x.value=this.parseMethod(!1);else{if(x.kind="init",this.options.ecmaVersion>=6)if(this.eat(t.tokTypes.eq)){var U=this.startNodeAt(A);U.operator="=",U.left=x.key,U.right=this.parseMaybeAssign(),x.value=this.finishNode(U,"AssignmentExpression")}else x.value=x.key;else x.value=this.dummyIdent();x.shorthand=!0}p.properties.push(this.finishNode(x,"Property")),this.eat(t.tokTypes.comma)}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.finishNode(p,"ObjectExpression")},g.parsePropertyName=function(p){if(this.options.ecmaVersion>=6)if(this.eat(t.tokTypes.bracketL)){p.computed=!0,p.key=this.parseExpression(),this.expect(t.tokTypes.bracketR);return}else p.computed=!1;var h=this.tok.type===t.tokTypes.num||this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent();p.key=h||this.dummyIdent()},g.parsePropertyAccessor=function(){if(this.tok.type===t.tokTypes.name||this.tok.type.keyword)return this.parseIdent();if(this.tok.type===t.tokTypes.privateId)return this.parsePrivateIdent()},g.parseIdent=function(){var p=this.tok.type===t.tokTypes.name?this.tok.value:this.tok.type.keyword;if(!p)return this.dummyIdent();this.tok.type.keyword&&(this.toks.type=t.tokTypes.name);var h=this.startNode();return this.next(),h.name=p,this.finishNode(h,"Identifier")},g.parsePrivateIdent=function(){var p=this.startNode();return p.name=this.tok.value,this.next(),this.finishNode(p,"PrivateIdentifier")},g.initFunction=function(p){p.id=null,p.params=[],this.options.ecmaVersion>=6&&(p.generator=!1,p.expression=!1),this.options.ecmaVersion>=8&&(p.async=!1)},g.toAssignable=function(p,h){if(!(!p||p.type==="Identifier"||p.type==="MemberExpression"&&!h))if(p.type==="ParenthesizedExpression")this.toAssignable(p.expression,h);else{if(this.options.ecmaVersion<6)return this.dummyIdent();if(p.type==="ObjectExpression"){p.type="ObjectPattern";for(var T=0,x=p.properties;T<x.length;T+=1){var w=x[T];this.toAssignable(w,h)}}else if(p.type==="ArrayExpression")p.type="ArrayPattern",this.toAssignableList(p.elements,h);else if(p.type==="Property")this.toAssignable(p.value,h);else if(p.type==="SpreadElement")p.type="RestElement",this.toAssignable(p.argument,h);else if(p.type==="AssignmentExpression")p.type="AssignmentPattern",delete p.operator;else return this.dummyIdent()}return p},g.toAssignableList=function(p,h){for(var T=0,x=p;T<x.length;T+=1){var w=x[T];this.toAssignable(w,h)}return p},g.parseFunctionParams=function(p){return p=this.parseExprList(t.tokTypes.parenR),this.toAssignableList(p,!0)},g.parseMethod=function(p,h){var T=this.startNode(),x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(T),this.options.ecmaVersion>=6&&(T.generator=!!p),this.options.ecmaVersion>=8&&(T.async=!!h),this.inAsync=T.async,this.inGenerator=T.generator,this.inFunction=!0,T.params=this.parseFunctionParams(),T.body=this.parseBlock(),this.toks.adaptDirectivePrologue(T.body.body),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(T,"FunctionExpression")},g.parseArrowExpression=function(p,h,T){var x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(p),this.options.ecmaVersion>=8&&(p.async=!!T),this.inAsync=p.async,this.inGenerator=!1,this.inFunction=!0,p.params=this.toAssignableList(h,!0),p.expression=this.tok.type!==t.tokTypes.braceL,p.expression?p.body=this.parseMaybeAssign():(p.body=this.parseBlock(),this.toks.adaptDirectivePrologue(p.body.body)),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(p,"ArrowFunctionExpression")},g.parseExprList=function(p,h){this.pushCx();var T=this.curIndent,x=this.curLineStart,w=[];for(this.next();!this.closes(p,T+1,x);){if(this.eat(t.tokTypes.comma)){w.push(h?null:this.dummyIdent());continue}var S=this.parseMaybeAssign();if(i(S)){if(this.closes(p,T,x))break;this.next()}else w.push(S);this.eat(t.tokTypes.comma)}return this.popCx(),this.eat(p)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),w},g.parseAwait=function(){var p=this.startNode();return this.next(),p.argument=this.parseMaybeUnary(),this.finishNode(p,"AwaitExpression")},t.defaultOptions.tabSize=4;function L(p,h){return a.parse(p,h)}e.LooseParser=a,e.isDummy=i,e.parse=L})});var Vo=Li(),Hg=Qc(),dr=t1(),Wg=pf(),kf=mf(),Os=null;function vf(){return new Proxy({},{get:function(e,t){if(t in e)return e[t];var s=String(t).split("#"),i=s[0],r=s[1]||"default",a={id:i,chunks:[i],name:r,async:!0};return e[t]=a,a}})}var Nc={};function yf(e,t,s){var i=dr.registerServerReference(e,t,s),r=t+"#"+s;return Nc[r]=e,i}function Gg(e){if(e.indexOf("use client")===-1&&e.indexOf("use server")===-1)return null;try{var t=kf.parse(e,{ecmaVersion:"2024",sourceType:"source"}).body}catch{return null}for(var s=0;s<t.length;s++){var i=t[s];if(i.type!=="ExpressionStatement"||!i.directive)break;if(i.directive==="use client")return"use client";if(i.directive==="use server")return"use server"}return null}function zg(e){if(e.indexOf("use server")===-1)return e;var t;try{t=kf.parse(e,{ecmaVersion:"2024",sourceType:"source"})}catch{return e}var s=[],i=0;function r(T,x){if(!(!T||typeof T!="object")){var w=T.type==="FunctionDeclaration"||T.type==="FunctionExpression"||T.type==="ArrowFunctionExpression";if(w&&x>0&&T.body&&T.body.type==="BlockStatement")for(var S=T.body.body,A=0;A<S.length;A++){var U=S[A];if(U.type!=="ExpressionStatement")break;if(U.directive==="use server"){s.push({funcStart:T.start,funcEnd:T.end,dStart:U.start,dEnd:U.end,name:T.id?T.id.name:"action"+i,isDecl:T.type==="FunctionDeclaration"}),i++;return}if(!U.directive)break}var M=w?x+1:x;for(var c in T)if(!(c==="start"||c==="end"||c==="type")){var R=T[c];if(Array.isArray(R))for(var W=0;W<R.length;W++)R[W]&&typeof R[W].type=="string"&&r(R[W],M);else R&&typeof R.type=="string"&&r(R,M)}}}if(t.body.forEach(function(T){r(T,0)}),s.length===0)return e;s.sort(function(T,x){return x.funcStart-T.funcStart});for(var a=e,u=0;u<s.length;u++){for(var d=s[u],y=d.dEnd,g=a.charAt(y);y<a.length&&(g===" "||g===` -`||g==="\r"||g===" ");)y++,g=a.charAt(y);a=a.slice(0,d.dStart)+a.slice(y);var L=y-d.dStart,p=d.funcEnd-L,h=a.slice(d.funcStart,p);d.isDecl?a=a.slice(0,d.funcStart)+"var "+d.name+" = __rsa("+h+", '"+d.name+"');"+a.slice(p):a=a.slice(0,d.funcStart)+"__rsa("+h+", '"+d.name+"')"+a.slice(p)}return a}function Xg(e,t){if(!t.startsWith("."))return t;var s=e.split("/");s.pop();for(var i=t.split("/"),r=0;r<i.length;r++)if(i[r]!=="."){if(i[r]===".."){s.pop();continue}s.push(i[r])}return s.join("/")}function Yg(e){Nc={};var t={react:Vo,"react/jsx-runtime":Hg},s={},i=null;if(Object.keys(e).forEach(function(h){if(!i)try{s[h]=Wg.transform(e[h],{transforms:["jsx","imports"],jsxRuntime:"automatic",production:!0}).code}catch(T){i=h+": "+(T.message||String(T))}}),i)return{type:"error",error:i};function r(h,T){if(t[T])return T;if(T.startsWith(".")){var x=Xg(h,T);if(t[x]||s[x])return x;for(var w=[".js",".jsx",".ts",".tsx"],S=0;S<w.length;S++){var A=x+w[S];if(t[A]||s[A])return A}}return T}var a={},u={};function d(h){if(t[h])return t[h];if(!s[h])throw new Error('Module "'+h+'" not found');if(a[h])return a[h].exports;var T=Gg(e[h]);if(T==="use client")return t[h]=dr.createClientModuleProxy(h),u[h]=!0,t[h];var x={exports:{}};a[h]=x;var w=function(c){if(c.endsWith(".css"))return{};var R=r(h,c);return t[R]?t[R]:d(R)},S=s[h];if(T!=="use server"&&(S=zg(S)),new Function("module","exports","require","React","__rsa",S)(x,x.exports,w,Vo,function(c,R){return yf(c,h,R)}),t[h]=x.exports,T==="use server")for(var A=Object.keys(x.exports),U=0;U<A.length;U++){var M=A[U];typeof x.exports[M]=="function"&&yf(x.exports[M],h,M)}return delete a[h],x.exports}var y={exports:{}};Object.keys(s).forEach(function(h){d(h),(h==="/src/App.js"||h==="./App.js"||h==="./src/App.js")&&(y.exports=t[h])}),Os={module:y.exports};var g={};function L(h){if(!g[h]){g[h]=!0;var T=s[h];if(T)for(var x=/require\(["']([^"']+)["']\)/g,w;(w=x.exec(T))!==null;){var S=w[1];if(!(S==="react"||S==="react/jsx-runtime"||S==="react/jsx-dev-runtime"||S.endsWith(".css"))){var A=r(h,S);s[A]&&L(A)}}}}Object.keys(u).forEach(function(h){L(h)});var p={};return Object.keys(g).forEach(function(h){p[h]=s[h]}),{type:"deployed",compiledClients:p,clientEntries:u}}function Jg(){if(!Os)throw new Error("No code deployed");var e=Os.module.default||Os.module,t=Vo.createElement(e);return dr.renderToReadableStream(t,vf(),{onError:function(s){return console.error("[RSC Server Error]",s),msg}})}function Qg(e,t){if(!Os)throw new Error("No code deployed");var s=Nc[e];if(!s)throw new Error('Action "'+e+'" not found');var i=t;if(typeof t!="string"&&t&&t.__formData){i=new FormData;for(var r=0;r<t.__formData.length;r++)i.append(t.__formData[r][0],t.__formData[r][1])}return Promise.resolve(dr.decodeReply(i)).then(function(a){var u=Promise.resolve(s.apply(null,a));return u.then(function(){var d=Os.module.default||Os.module;return dr.renderToReadableStream({root:Vo.createElement(d),returnValue:u},vf(),{onError:function(y){return console.error("[RSC Server Error]",y),msg}})})})}function Tf(e,t){var s=t.getReader();function i(){return s.read().then(function(r){if(r.done){self.postMessage({type:"rsc-chunk",requestId:e,done:!0});return}return self.postMessage({type:"rsc-chunk",requestId:e,done:!1,chunk:r.value},[r.value.buffer]),i()})}i().catch(function(r){self.postMessage({type:"rsc-error",requestId:e,error:String(r)})})}self.onmessage=function(e){var t=e.data;if(t.type==="deploy")try{var s=Yg(t.files);s&&s.type==="error"?self.postMessage({type:"rsc-error",error:s.error}):s&&self.postMessage({type:"deploy-result",result:s})}catch(r){self.postMessage({type:"rsc-error",error:String(r)})}else if(t.type==="render")try{var i=Jg();Promise.resolve(i).then(function(r){Tf(t.requestId,r)}).catch(function(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})})}catch(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})}else if(t.type==="callAction")try{Qg(t.actionId,t.encodedArgs).then(function(r){Tf(t.requestId,r)}).catch(function(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})})}catch(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})}};self.postMessage({type:"ready"});})(); +`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},Ce.readEscapedChar=function(n){var o=this.input.charCodeAt(++this.pos);switch(++this.pos,o){case 110:return` +`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return rt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),n){var l=this.pos-1;this.invalidStringToken(l,"Invalid escape sequence in template string")}default:if(o>=48&&o<=55){var h=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],m=parseInt(h,8);return m>255&&(h=h.slice(0,-1),m=parseInt(h,8)),this.pos+=h.length-1,o=this.input.charCodeAt(this.pos),(h!=="0"||o===56||o===57)&&(this.strict||n)&&this.invalidStringToken(this.pos-1-h.length,n?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(m)}return Y(o)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(o)}},Ce.readHexChar=function(n){var o=this.pos,l=this.readInt(16,n);return l===null&&this.invalidStringToken(o,"Bad character escape sequence"),l},Ce.readWord1=function(){this.containsEsc=!1;for(var n="",o=!0,l=this.pos,h=this.options.ecmaVersion>=6;this.pos<this.input.length;){var m=this.fullCharCodeAtPos();if(T(m,h))this.pos+=m<=65535?1:2;else if(m===92){this.containsEsc=!0,n+=this.input.slice(l,this.pos);var E=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var L=this.readCodePoint();(o?f:T)(L,h)||this.invalidStringToken(E,"Invalid Unicode escape"),n+=rt(L),l=this.pos}else break;o=!1}return n+this.input.slice(l,this.pos)},Ce.readWord=function(){var n=this.readWord1(),o=c.name;return this.keywords.test(n)&&(o=q[n]),this.finishToken(o,n)};var Yc="8.16.0";Ue.acorn={Parser:Ue,version:Yc,defaultOptions:Pt,Position:ht,SourceLocation:St,getLineInfo:Kt,Node:jn,TokenType:x,tokTypes:c,keywordTypes:q,TokContext:Rt,tokContexts:He,isIdentifierChar:T,isIdentifierStart:f,Token:wr,isNewLine:Y,lineBreak:R,lineBreakG:W,nonASCIIwhitespace:he};function Vf(n,o){return Ue.parse(n,o)}function jf(n,o,l){return Ue.parseExpressionAt(n,o,l)}function $f(n,o){return Ue.tokenizer(n,o)}e.Node=jn,e.Parser=Ue,e.Position=ht,e.SourceLocation=St,e.TokContext=Rt,e.Token=wr,e.TokenType=x,e.defaultOptions=Pt,e.getLineInfo=Kt,e.isIdentifierChar=T,e.isIdentifierStart=f,e.isNewLine=Y,e.keywordTypes=q,e.lineBreak=R,e.lineBreakG=W,e.nonASCIIwhitespace=he,e.parse=Vf,e.parseExpressionAt=jf,e.tokContexts=He,e.tokTypes=c,e.tokenizer=$f,e.version=Yc})});var If=Z((qo,Sf)=>{(function(e,t){typeof qo=="object"&&typeof Sf<"u"?t(qo,wf()):typeof define=="function"&&define.amd?define(["exports","acorn"],t):(e=typeof globalThis<"u"?globalThis:e||self,t((e.acorn=e.acorn||{},e.acorn.loose={}),e.acorn))})(qo,function(e,t){"use strict";var s="\u2716";function i(p){return p.name===s}function r(){}var a=function(f,T){if(T===void 0&&(T={}),this.toks=this.constructor.BaseParser.tokenizer(f,T),this.options=this.toks.options,this.input=this.toks.input,this.tok=this.last={type:t.tokTypes.eof,start:0,end:0},this.tok.validateRegExpFlags=r,this.tok.validateRegExpPattern=r,this.options.locations){var x=this.toks.curPosition();this.tok.loc=new t.SourceLocation(this.toks,x,x)}this.ahead=[],this.context=[],this.curIndent=0,this.curLineStart=0,this.nextLineStart=this.lineEnd(this.curLineStart)+1,this.inAsync=!1,this.inGenerator=!1,this.inFunction=!1};a.prototype.startNode=function(){return new t.Node(this.toks,this.tok.start,this.options.locations?this.tok.loc.start:null)},a.prototype.storeCurrentPos=function(){return this.options.locations?[this.tok.start,this.tok.loc.start]:this.tok.start},a.prototype.startNodeAt=function(f){return this.options.locations?new t.Node(this.toks,f[0],f[1]):new t.Node(this.toks,f)},a.prototype.finishNode=function(f,T){return f.type=T,f.end=this.last.end,this.options.locations&&(f.loc.end=this.last.loc.end),this.options.ranges&&(f.range[1]=this.last.end),f},a.prototype.dummyNode=function(f){var T=this.startNode();return T.type=f,T.end=T.start,this.options.locations&&(T.loc.end=T.loc.start),this.options.ranges&&(T.range[1]=T.start),this.last={type:t.tokTypes.name,start:T.start,end:T.start,loc:T.loc},T},a.prototype.dummyIdent=function(){var f=this.dummyNode("Identifier");return f.name=s,f},a.prototype.dummyString=function(){var f=this.dummyNode("Literal");return f.value=f.raw=s,f},a.prototype.eat=function(f){return this.tok.type===f?(this.next(),!0):!1},a.prototype.isContextual=function(f){return this.tok.type===t.tokTypes.name&&this.tok.value===f},a.prototype.eatContextual=function(f){return this.tok.value===f&&this.eat(t.tokTypes.name)},a.prototype.canInsertSemicolon=function(){return this.tok.type===t.tokTypes.eof||this.tok.type===t.tokTypes.braceR||t.lineBreak.test(this.input.slice(this.last.end,this.tok.start))},a.prototype.semicolon=function(){return this.eat(t.tokTypes.semi)},a.prototype.expect=function(f){if(this.eat(f))return!0;for(var T=1;T<=2;T++)if(this.lookAhead(T).type===f){for(var x=0;x<T;x++)this.next();return!0}},a.prototype.pushCx=function(){this.context.push(this.curIndent)},a.prototype.popCx=function(){this.curIndent=this.context.pop()},a.prototype.lineEnd=function(f){for(;f<this.input.length&&!t.isNewLine(this.input.charCodeAt(f));)++f;return f},a.prototype.indentationAfter=function(f){for(var T=0;;++f){var x=this.input.charCodeAt(f);if(x===32)++T;else if(x===9)T+=this.options.tabSize;else return T}},a.prototype.closes=function(f,T,x,w){return this.tok.type===f||this.tok.type===t.tokTypes.eof?!0:x!==this.curLineStart&&this.curIndent<T&&this.tokenStartsLine()&&(!w||this.nextLineStart>=this.input.length||this.indentationAfter(this.nextLineStart)<T)},a.prototype.tokenStartsLine=function(){for(var f=this.tok.start-1;f>=this.curLineStart;--f){var T=this.input.charCodeAt(f);if(T!==9&&T!==32)return!1}return!0},a.prototype.extend=function(f,T){this[f]=T(this[f])},a.prototype.parse=function(){return this.next(),this.parseTopLevel()},a.extend=function(){for(var f=[],T=arguments.length;T--;)f[T]=arguments[T];for(var x=this,w=0;w<f.length;w++)x=f[w](x);return x},a.parse=function(f,T){return new this(f,T).parse()},a.BaseParser=t.Parser;var u=a.prototype;function d(p){return p<14&&p>8||p===32||p===160||t.isNewLine(p)}u.next=function(){if(this.last=this.tok,this.ahead.length?this.tok=this.ahead.shift():this.tok=this.readToken(),this.tok.start>=this.nextLineStart){for(;this.tok.start>=this.nextLineStart;)this.curLineStart=this.nextLineStart,this.nextLineStart=this.lineEnd(this.curLineStart)+1;this.curIndent=this.indentationAfter(this.curLineStart)}},u.readToken=function(){for(;;)try{return this.toks.next(),this.toks.type===t.tokTypes.dot&&this.input.substr(this.toks.end,1)==="."&&this.options.ecmaVersion>=6&&(this.toks.end++,this.toks.type=t.tokTypes.ellipsis),new t.Token(this.toks)}catch(S){if(!(S instanceof SyntaxError))throw S;var p=S.message,f=S.raisedAt,T=!0;if(/unterminated/i.test(p))if(f=this.lineEnd(S.pos+1),/string/.test(p))T={start:S.pos,end:f,type:t.tokTypes.string,value:this.input.slice(S.pos+1,f)};else if(/regular expr/i.test(p)){var x=this.input.slice(S.pos,f);try{x=new RegExp(x)}catch{}T={start:S.pos,end:f,type:t.tokTypes.regexp,value:x}}else/template/.test(p)?T={start:S.pos,end:f,type:t.tokTypes.template,value:this.input.slice(S.pos,f)}:T=!1;else if(/invalid (unicode|regexp|number)|expecting unicode|octal literal|is reserved|directly after number|expected number in radix|numeric separator/i.test(p))for(;f<this.input.length&&!d(this.input.charCodeAt(f));)++f;else if(/character escape|expected hexadecimal/i.test(p))for(;f<this.input.length;){var w=this.input.charCodeAt(f++);if(w===34||w===39||t.isNewLine(w))break}else if(/unexpected character/i.test(p))f++,T=!1;else if(/regular expression/i.test(p))T=!0;else throw S;if(this.resetTo(f),T===!0&&(T={start:f,end:f,type:t.tokTypes.name,value:s}),T)return this.options.locations&&(T.loc=new t.SourceLocation(this.toks,t.getLineInfo(this.input,T.start),t.getLineInfo(this.input,T.end))),T}},u.resetTo=function(p){this.toks.pos=p,this.toks.containsEsc=!1;var f=this.input.charAt(p-1);if(this.toks.exprAllowed=!f||/[[{(,;:?/*=+\-~!|&%^<>]/.test(f)||/[enwfd]/.test(f)&&/\b(case|else|return|throw|new|in|(instance|type)?of|delete|void)$/.test(this.input.slice(p-10,p)),this.options.locations){this.toks.curLine=1,this.toks.lineStart=t.lineBreakG.lastIndex=0;for(var T;(T=t.lineBreakG.exec(this.input))&&T.index<p;)++this.toks.curLine,this.toks.lineStart=T.index+T[0].length}},u.lookAhead=function(p){for(;p>this.ahead.length;)this.ahead.push(this.readToken());return this.ahead[p-1]};var v=a.prototype;v.parseTopLevel=function(){var p=this.startNodeAt(this.options.locations?[0,t.getLineInfo(this.input,0)]:0);for(p.body=[];this.tok.type!==t.tokTypes.eof;)p.body.push(this.parseStatement());return this.toks.adaptDirectivePrologue(p.body),this.last=this.tok,p.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(p,"Program")},v.parseStatement=function(){var p=this.tok.type,f=this.startNode(),T;switch(this.toks.isLet()&&(p=t.tokTypes._var,T="let"),p){case t.tokTypes._break:case t.tokTypes._continue:this.next();var x=p===t.tokTypes._break;return this.semicolon()||this.canInsertSemicolon()?f.label=null:(f.label=this.tok.type===t.tokTypes.name?this.parseIdent():null,this.semicolon()),this.finishNode(f,x?"BreakStatement":"ContinueStatement");case t.tokTypes._debugger:return this.next(),this.semicolon(),this.finishNode(f,"DebuggerStatement");case t.tokTypes._do:return this.next(),f.body=this.parseStatement(),f.test=this.eat(t.tokTypes._while)?this.parseParenExpression():this.dummyIdent(),this.semicolon(),this.finishNode(f,"DoWhileStatement");case t.tokTypes._for:this.next();var w=this.options.ecmaVersion>=9&&this.eatContextual("await");if(this.pushCx(),this.expect(t.tokTypes.parenL),this.tok.type===t.tokTypes.semi)return this.parseFor(f,null);var S=this.toks.isLet(),A=this.toks.isAwaitUsing(!0),q=!A&&this.toks.isUsing(!0);if(S||this.tok.type===t.tokTypes._var||this.tok.type===t.tokTypes._const||q||A){var M=S?"let":q?"using":A?"await using":this.tok.value,c=this.startNode();return q||A?(A&&this.next(),this.parseVar(c,!0,M)):c=this.parseVar(c,!0,M),c.declarations.length===1&&(this.tok.type===t.tokTypes._in||this.isContextual("of"))?(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(f.await=w),this.parseForIn(f,c)):this.parseFor(f,c)}var R=this.parseExpression(!0);return this.tok.type===t.tokTypes._in||this.isContextual("of")?(this.options.ecmaVersion>=9&&this.tok.type!==t.tokTypes._in&&(f.await=w),this.parseForIn(f,this.toAssignable(R))):this.parseFor(f,R);case t.tokTypes._function:return this.next(),this.parseFunction(f,!0);case t.tokTypes._if:return this.next(),f.test=this.parseParenExpression(),f.consequent=this.parseStatement(),f.alternate=this.eat(t.tokTypes._else)?this.parseStatement():null,this.finishNode(f,"IfStatement");case t.tokTypes._return:return this.next(),this.eat(t.tokTypes.semi)||this.canInsertSemicolon()?f.argument=null:(f.argument=this.parseExpression(),this.semicolon()),this.finishNode(f,"ReturnStatement");case t.tokTypes._switch:var W=this.curIndent,Y=this.curLineStart;this.next(),f.discriminant=this.parseParenExpression(),f.cases=[],this.pushCx(),this.expect(t.tokTypes.braceL);for(var ie;!this.closes(t.tokTypes.braceR,W,Y,!0);)if(this.tok.type===t.tokTypes._case||this.tok.type===t.tokTypes._default){var he=this.tok.type===t.tokTypes._case;ie&&this.finishNode(ie,"SwitchCase"),f.cases.push(ie=this.startNode()),ie.consequent=[],this.next(),he?ie.test=this.parseExpression():ie.test=null,this.expect(t.tokTypes.colon)}else ie||(f.cases.push(ie=this.startNode()),ie.consequent=[],ie.test=null),ie.consequent.push(this.parseStatement());return ie&&this.finishNode(ie,"SwitchCase"),this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(f,"SwitchStatement");case t.tokTypes._throw:return this.next(),f.argument=this.parseExpression(),this.semicolon(),this.finishNode(f,"ThrowStatement");case t.tokTypes._try:if(this.next(),f.block=this.parseBlock(),f.handler=null,this.tok.type===t.tokTypes._catch){var ae=this.startNode();this.next(),this.eat(t.tokTypes.parenL)?(ae.param=this.toAssignable(this.parseExprAtom(),!0),this.expect(t.tokTypes.parenR)):ae.param=null,ae.body=this.parseBlock(),f.handler=this.finishNode(ae,"CatchClause")}return f.finalizer=this.eat(t.tokTypes._finally)?this.parseBlock():null,!f.handler&&!f.finalizer?f.block:this.finishNode(f,"TryStatement");case t.tokTypes._var:case t.tokTypes._const:return this.parseVar(f,!1,T||this.tok.value);case t.tokTypes._while:return this.next(),f.test=this.parseParenExpression(),f.body=this.parseStatement(),this.finishNode(f,"WhileStatement");case t.tokTypes._with:return this.next(),f.object=this.parseParenExpression(),f.body=this.parseStatement(),this.finishNode(f,"WithStatement");case t.tokTypes.braceL:return this.parseBlock();case t.tokTypes.semi:return this.next(),this.finishNode(f,"EmptyStatement");case t.tokTypes._class:return this.parseClass(!0);case t.tokTypes._import:if(this.options.ecmaVersion>10){var We=this.lookAhead(1).type;if(We===t.tokTypes.parenL||We===t.tokTypes.dot)return f.expression=this.parseExpression(),this.semicolon(),this.finishNode(f,"ExpressionStatement")}return this.parseImport();case t.tokTypes._export:return this.parseExport();default:if(this.toks.isAsyncFunction())return this.next(),this.next(),this.parseFunction(f,!0,!0);if(this.toks.isUsing(!1))return this.parseVar(f,!1,"using");if(this.toks.isAwaitUsing(!1))return this.next(),this.parseVar(f,!1,"await using");var qe=this.parseExpression();return i(qe)?(this.next(),this.tok.type===t.tokTypes.eof?this.finishNode(f,"EmptyStatement"):this.parseStatement()):p===t.tokTypes.name&&qe.type==="Identifier"&&this.eat(t.tokTypes.colon)?(f.body=this.parseStatement(),f.label=qe,this.finishNode(f,"LabeledStatement")):(f.expression=qe,this.semicolon(),this.finishNode(f,"ExpressionStatement"))}},v.parseBlock=function(){var p=this.startNode();this.pushCx(),this.expect(t.tokTypes.braceL);var f=this.curIndent,T=this.curLineStart;for(p.body=[];!this.closes(t.tokTypes.braceR,f,T,!0);)p.body.push(this.parseStatement());return this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(p,"BlockStatement")},v.parseFor=function(p,f){return p.init=f,p.test=p.update=null,this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.semi&&(p.test=this.parseExpression()),this.eat(t.tokTypes.semi)&&this.tok.type!==t.tokTypes.parenR&&(p.update=this.parseExpression()),this.popCx(),this.expect(t.tokTypes.parenR),p.body=this.parseStatement(),this.finishNode(p,"ForStatement")},v.parseForIn=function(p,f){var T=this.tok.type===t.tokTypes._in?"ForInStatement":"ForOfStatement";return this.next(),p.left=f,p.right=this.parseExpression(),this.popCx(),this.expect(t.tokTypes.parenR),p.body=this.parseStatement(),this.finishNode(p,T)},v.parseVar=function(p,f,T){p.kind=T,this.next(),p.declarations=[];do{var x=this.startNode();x.id=this.options.ecmaVersion>=6?this.toAssignable(this.parseExprAtom(),!0):this.parseIdent(),x.init=this.eat(t.tokTypes.eq)?this.parseMaybeAssign(f):null,p.declarations.push(this.finishNode(x,"VariableDeclarator"))}while(this.eat(t.tokTypes.comma));if(!p.declarations.length){var w=this.startNode();w.id=this.dummyIdent(),p.declarations.push(this.finishNode(w,"VariableDeclarator"))}return f||this.semicolon(),this.finishNode(p,"VariableDeclaration")},v.parseClass=function(p){var f=this.startNode();this.next(),this.tok.type===t.tokTypes.name?f.id=this.parseIdent():p===!0?f.id=this.dummyIdent():f.id=null,f.superClass=this.eat(t.tokTypes._extends)?this.parseExpression():null,f.body=this.startNode(),f.body.body=[],this.pushCx();var T=this.curIndent+1,x=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<T&&(T=this.curIndent,x=this.curLineStart);!this.closes(t.tokTypes.braceR,T,x);){var w=this.parseClassElement();w&&f.body.body.push(w)}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.semicolon(),this.finishNode(f.body,"ClassBody"),this.finishNode(f,p?"ClassDeclaration":"ClassExpression")},v.parseClassElement=function(){if(this.eat(t.tokTypes.semi))return null;var p=this.options,f=p.ecmaVersion,T=p.locations,x=this.curIndent,w=this.curLineStart,S=this.startNode(),A="",q=!1,M=!1,c="method",R=!1;if(this.eatContextual("static")){if(f>=13&&this.eat(t.tokTypes.braceL))return this.parseClassStaticBlock(S),S;this.isClassElementNameStart()||this.toks.type===t.tokTypes.star?R=!0:A="static"}if(S.static=R,!A&&f>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.toks.type===t.tokTypes.star)&&!this.canInsertSemicolon()?M=!0:A="async"),!A){q=this.eat(t.tokTypes.star);var W=this.toks.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?c=W:A=W)}if(A)S.computed=!1,S.key=this.startNodeAt(T?[this.toks.lastTokStart,this.toks.lastTokStartLoc]:this.toks.lastTokStart),S.key.name=A,this.finishNode(S.key,"Identifier");else if(this.parseClassElementName(S),i(S.key))return i(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma),null;if(f<13||this.toks.type===t.tokTypes.parenL||c!=="method"||q||M){var Y=!S.computed&&!S.static&&!q&&!M&&c==="method"&&(S.key.type==="Identifier"&&S.key.name==="constructor"||S.key.type==="Literal"&&S.key.value==="constructor");S.kind=Y?"constructor":c,S.value=this.parseMethod(q,M),this.finishNode(S,"MethodDefinition")}else{if(this.eat(t.tokTypes.eq))if(this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine())S.value=null;else{var ie=this.inAsync,he=this.inGenerator;this.inAsync=!1,this.inGenerator=!1,S.value=this.parseMaybeAssign(),this.inAsync=ie,this.inGenerator=he}else S.value=null;this.semicolon(),this.finishNode(S,"PropertyDefinition")}return S},v.parseClassStaticBlock=function(p){var f=this.curIndent,T=this.curLineStart;for(p.body=[],this.pushCx();!this.closes(t.tokTypes.braceR,f,T,!0);)p.body.push(this.parseStatement());return this.popCx(),this.eat(t.tokTypes.braceR),this.finishNode(p,"StaticBlock")},v.isClassElementNameStart=function(){return this.toks.isClassElementNameStart()},v.parseClassElementName=function(p){this.toks.type===t.tokTypes.privateId?(p.computed=!1,p.key=this.parsePrivateIdent()):this.parsePropertyName(p)},v.parseFunction=function(p,f,T){var x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(p),this.options.ecmaVersion>=6&&(p.generator=this.eat(t.tokTypes.star)),this.options.ecmaVersion>=8&&(p.async=!!T),this.tok.type===t.tokTypes.name?p.id=this.parseIdent():f===!0&&(p.id=this.dummyIdent()),this.inAsync=p.async,this.inGenerator=p.generator,this.inFunction=!0,p.params=this.parseFunctionParams(),p.body=this.parseBlock(),this.toks.adaptDirectivePrologue(p.body.body),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(p,f?"FunctionDeclaration":"FunctionExpression")},v.parseExport=function(){var p=this.startNode();if(this.next(),this.eat(t.tokTypes.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?p.exported=this.parseExprAtom():p.exported=null),p.source=this.eatContextual("from")?this.parseExprAtom():this.dummyString(),this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ExportAllDeclaration");if(this.eat(t.tokTypes._default)){var f;if(this.tok.type===t.tokTypes._function||(f=this.toks.isAsyncFunction())){var T=this.startNode();this.next(),f&&this.next(),p.declaration=this.parseFunction(T,"nullableID",f)}else this.tok.type===t.tokTypes._class?p.declaration=this.parseClass("nullableID"):(p.declaration=this.parseMaybeAssign(),this.semicolon());return this.finishNode(p,"ExportDefaultDeclaration")}return this.tok.type.keyword||this.toks.isLet()||this.toks.isAsyncFunction()?(p.declaration=this.parseStatement(),p.specifiers=[],p.source=null):(p.declaration=null,p.specifiers=this.parseExportSpecifierList(),p.source=this.eatContextual("from")?this.parseExprAtom():null,this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon()),this.finishNode(p,"ExportNamedDeclaration")},v.parseImport=function(){var p=this.startNode();if(this.next(),this.tok.type===t.tokTypes.string)p.specifiers=[],p.source=this.parseExprAtom();else{var f;this.tok.type===t.tokTypes.name&&this.tok.value!=="from"&&(f=this.startNode(),f.local=this.parseIdent(),this.finishNode(f,"ImportDefaultSpecifier"),this.eat(t.tokTypes.comma)),p.specifiers=this.parseImportSpecifiers(),p.source=this.eatContextual("from")&&this.tok.type===t.tokTypes.string?this.parseExprAtom():this.dummyString(),f&&p.specifiers.unshift(f)}return this.options.ecmaVersion>=16&&(p.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(p,"ImportDeclaration")},v.parseImportSpecifiers=function(){var p=[];if(this.tok.type===t.tokTypes.star){var f=this.startNode();this.next(),f.local=this.eatContextual("as")?this.parseIdent():this.dummyIdent(),p.push(this.finishNode(f,"ImportNamespaceSpecifier"))}else{var T=this.curIndent,x=this.curLineStart,w=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>w&&(w=this.curLineStart);!this.closes(t.tokTypes.braceR,T+(this.curLineStart<=w?1:0),x);){var S=this.startNode();if(this.eat(t.tokTypes.star))S.local=this.eatContextual("as")?this.parseModuleExportName():this.dummyIdent(),this.finishNode(S,"ImportNamespaceSpecifier");else{if(this.isContextual("from")||(S.imported=this.parseModuleExportName(),i(S.imported)))break;S.local=this.eatContextual("as")?this.parseModuleExportName():S.imported,this.finishNode(S,"ImportSpecifier")}p.push(S),this.eat(t.tokTypes.comma)}this.eat(t.tokTypes.braceR),this.popCx()}return p},v.parseWithClause=function(){var p=[];if(!this.eat(t.tokTypes._with))return p;var f=this.curIndent,T=this.curLineStart,x=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>x&&(x=this.curLineStart);!this.closes(t.tokTypes.braceR,f+(this.curLineStart<=x?1:0),T);){var w=this.startNode();if(w.key=this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent(),this.eat(t.tokTypes.colon))this.tok.type===t.tokTypes.string?w.value=this.parseExprAtom():w.value=this.dummyString();else{if(i(w.key))break;if(this.tok.type===t.tokTypes.string)w.value=this.parseExprAtom();else break}p.push(this.finishNode(w,"ImportAttribute")),this.eat(t.tokTypes.comma)}return this.eat(t.tokTypes.braceR),this.popCx(),p},v.parseExportSpecifierList=function(){var p=[],f=this.curIndent,T=this.curLineStart,x=this.nextLineStart;for(this.pushCx(),this.eat(t.tokTypes.braceL),this.curLineStart>x&&(x=this.curLineStart);!this.closes(t.tokTypes.braceR,f+(this.curLineStart<=x?1:0),T)&&!this.isContextual("from");){var w=this.startNode();if(w.local=this.parseModuleExportName(),i(w.local))break;w.exported=this.eatContextual("as")?this.parseModuleExportName():w.local,this.finishNode(w,"ExportSpecifier"),p.push(w),this.eat(t.tokTypes.comma)}return this.eat(t.tokTypes.braceR),this.popCx(),p},v.parseModuleExportName=function(){return this.options.ecmaVersion>=13&&this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent()};var g=a.prototype;g.checkLVal=function(p){if(!p)return p;switch(p.type){case"Identifier":case"MemberExpression":return p;case"ParenthesizedExpression":return p.expression=this.checkLVal(p.expression),p;default:return this.dummyIdent()}},g.parseExpression=function(p){var f=this.storeCurrentPos(),T=this.parseMaybeAssign(p);if(this.tok.type===t.tokTypes.comma){var x=this.startNodeAt(f);for(x.expressions=[T];this.eat(t.tokTypes.comma);)x.expressions.push(this.parseMaybeAssign(p));return this.finishNode(x,"SequenceExpression")}return T},g.parseParenExpression=function(){this.pushCx(),this.expect(t.tokTypes.parenL);var p=this.parseExpression();return this.popCx(),this.expect(t.tokTypes.parenR),p},g.parseMaybeAssign=function(p){if(this.inGenerator&&this.toks.isContextual("yield")){var f=this.startNode();return this.next(),this.semicolon()||this.canInsertSemicolon()||this.tok.type!==t.tokTypes.star&&!this.tok.type.startsExpr?(f.delegate=!1,f.argument=null):(f.delegate=this.eat(t.tokTypes.star),f.argument=this.parseMaybeAssign()),this.finishNode(f,"YieldExpression")}var T=this.storeCurrentPos(),x=this.parseMaybeConditional(p);if(this.tok.type.isAssign){var w=this.startNodeAt(T);return w.operator=this.tok.value,w.left=this.tok.type===t.tokTypes.eq?this.toAssignable(x):this.checkLVal(x),this.next(),w.right=this.parseMaybeAssign(p),this.finishNode(w,"AssignmentExpression")}return x},g.parseMaybeConditional=function(p){var f=this.storeCurrentPos(),T=this.parseExprOps(p);if(this.eat(t.tokTypes.question)){var x=this.startNodeAt(f);return x.test=T,x.consequent=this.parseMaybeAssign(),x.alternate=this.expect(t.tokTypes.colon)?this.parseMaybeAssign(p):this.dummyIdent(),this.finishNode(x,"ConditionalExpression")}return T},g.parseExprOps=function(p){var f=this.storeCurrentPos(),T=this.curIndent,x=this.curLineStart;return this.parseExprOp(this.parseMaybeUnary(!1),f,-1,p,T,x)},g.parseExprOp=function(p,f,T,x,w,S){if(this.curLineStart!==S&&this.curIndent<w&&this.tokenStartsLine())return p;var A=this.tok.type.binop;if(A!=null&&(!x||this.tok.type!==t.tokTypes._in)&&A>T){var q=this.startNodeAt(f);if(q.left=p,q.operator=this.tok.value,this.next(),this.curLineStart!==S&&this.curIndent<w&&this.tokenStartsLine())q.right=this.dummyIdent();else{var M=this.storeCurrentPos();q.right=this.parseExprOp(this.parseMaybeUnary(!1),M,A,x,w,S)}return this.finishNode(q,/&&|\|\||\?\?/.test(q.operator)?"LogicalExpression":"BinaryExpression"),this.parseExprOp(q,f,T,x,w,S)}return p},g.parseMaybeUnary=function(p){var f=this.storeCurrentPos(),T;if(this.options.ecmaVersion>=8&&this.toks.isContextual("await")&&(this.inAsync||this.toks.inModule&&this.options.ecmaVersion>=13||!this.inFunction&&this.options.allowAwaitOutsideFunction))T=this.parseAwait(),p=!0;else if(this.tok.type.prefix){var x=this.startNode(),w=this.tok.type===t.tokTypes.incDec;w||(p=!0),x.operator=this.tok.value,x.prefix=!0,this.next(),x.argument=this.parseMaybeUnary(!0),w&&(x.argument=this.checkLVal(x.argument)),T=this.finishNode(x,w?"UpdateExpression":"UnaryExpression")}else if(this.tok.type===t.tokTypes.ellipsis){var S=this.startNode();this.next(),S.argument=this.parseMaybeUnary(p),T=this.finishNode(S,"SpreadElement")}else if(!p&&this.tok.type===t.tokTypes.privateId)T=this.parsePrivateIdent();else for(T=this.parseExprSubscripts();this.tok.type.postfix&&!this.canInsertSemicolon();){var A=this.startNodeAt(f);A.operator=this.tok.value,A.prefix=!1,A.argument=this.checkLVal(T),this.next(),T=this.finishNode(A,"UpdateExpression")}if(!p&&this.eat(t.tokTypes.starstar)){var q=this.startNodeAt(f);return q.operator="**",q.left=T,q.right=this.parseMaybeUnary(!1),this.finishNode(q,"BinaryExpression")}return T},g.parseExprSubscripts=function(){var p=this.storeCurrentPos();return this.parseSubscripts(this.parseExprAtom(),p,!1,this.curIndent,this.curLineStart)},g.parseSubscripts=function(p,f,T,x,w){for(var S=this.options.ecmaVersion>=11,A=!1;;){if(this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine())if(this.tok.type===t.tokTypes.dot&&this.curIndent===x)--x;else break;var q=p.type==="Identifier"&&p.name==="async"&&!this.canInsertSemicolon(),M=S&&this.eat(t.tokTypes.questionDot);if(M&&(A=!0),M&&this.tok.type!==t.tokTypes.parenL&&this.tok.type!==t.tokTypes.bracketL&&this.tok.type!==t.tokTypes.backQuote||this.eat(t.tokTypes.dot)){var c=this.startNodeAt(f);c.object=p,this.curLineStart!==w&&this.curIndent<=x&&this.tokenStartsLine()?c.property=this.dummyIdent():c.property=this.parsePropertyAccessor()||this.dummyIdent(),c.computed=!1,S&&(c.optional=M),p=this.finishNode(c,"MemberExpression")}else if(this.tok.type===t.tokTypes.bracketL){this.pushCx(),this.next();var R=this.startNodeAt(f);R.object=p,R.property=this.parseExpression(),R.computed=!0,S&&(R.optional=M),this.popCx(),this.expect(t.tokTypes.bracketR),p=this.finishNode(R,"MemberExpression")}else if(!T&&this.tok.type===t.tokTypes.parenL){var W=this.parseExprList(t.tokTypes.parenR);if(q&&this.eat(t.tokTypes.arrow))return this.parseArrowExpression(this.startNodeAt(f),W,!0);var Y=this.startNodeAt(f);Y.callee=p,Y.arguments=W,S&&(Y.optional=M),p=this.finishNode(Y,"CallExpression")}else if(this.tok.type===t.tokTypes.backQuote){var ie=this.startNodeAt(f);ie.tag=p,ie.quasi=this.parseTemplate(),p=this.finishNode(ie,"TaggedTemplateExpression")}else break}if(A){var he=this.startNodeAt(f);he.expression=p,p=this.finishNode(he,"ChainExpression")}return p},g.parseExprAtom=function(){var p;switch(this.tok.type){case t.tokTypes._this:case t.tokTypes._super:var f=this.tok.type===t.tokTypes._this?"ThisExpression":"Super";return p=this.startNode(),this.next(),this.finishNode(p,f);case t.tokTypes.name:var T=this.storeCurrentPos(),x=this.parseIdent(),w=!1;if(x.name==="async"&&!this.canInsertSemicolon()){if(this.eat(t.tokTypes._function))return this.toks.overrideContext(t.tokContexts.f_expr),this.parseFunction(this.startNodeAt(T),!1,!0);this.tok.type===t.tokTypes.name&&(x=this.parseIdent(),w=!0)}return this.eat(t.tokTypes.arrow)?this.parseArrowExpression(this.startNodeAt(T),[x],w):x;case t.tokTypes.regexp:p=this.startNode();var S=this.tok.value;return p.regex={pattern:S.pattern,flags:S.flags},p.value=S.value,p.raw=this.input.slice(this.tok.start,this.tok.end),this.next(),this.finishNode(p,"Literal");case t.tokTypes.num:case t.tokTypes.string:return p=this.startNode(),p.value=this.tok.value,p.raw=this.input.slice(this.tok.start,this.tok.end),this.tok.type===t.tokTypes.num&&p.raw.charCodeAt(p.raw.length-1)===110&&(p.bigint=p.value!=null?p.value.toString():p.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(p,"Literal");case t.tokTypes._null:case t.tokTypes._true:case t.tokTypes._false:return p=this.startNode(),p.value=this.tok.type===t.tokTypes._null?null:this.tok.type===t.tokTypes._true,p.raw=this.tok.type.keyword,this.next(),this.finishNode(p,"Literal");case t.tokTypes.parenL:var A=this.storeCurrentPos();this.next();var q=this.parseExpression();if(this.expect(t.tokTypes.parenR),this.eat(t.tokTypes.arrow)){var M=q.expressions||[q];return M.length&&i(M[M.length-1])&&M.pop(),this.parseArrowExpression(this.startNodeAt(A),M)}if(this.options.preserveParens){var c=this.startNodeAt(A);c.expression=q,q=this.finishNode(c,"ParenthesizedExpression")}return q;case t.tokTypes.bracketL:return p=this.startNode(),p.elements=this.parseExprList(t.tokTypes.bracketR,!0),this.finishNode(p,"ArrayExpression");case t.tokTypes.braceL:return this.toks.overrideContext(t.tokContexts.b_expr),this.parseObj();case t.tokTypes._class:return this.parseClass(!1);case t.tokTypes._function:return p=this.startNode(),this.next(),this.parseFunction(p,!1);case t.tokTypes._new:return this.parseNew();case t.tokTypes.backQuote:return this.parseTemplate();case t.tokTypes._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.dummyIdent();default:return this.dummyIdent()}},g.parseExprImport=function(){var p=this.startNode(),f=this.parseIdent(!0);switch(this.tok.type){case t.tokTypes.parenL:return this.parseDynamicImport(p);case t.tokTypes.dot:return p.meta=f,this.parseImportMeta(p);default:return p.name="import",this.finishNode(p,"Identifier")}},g.parseDynamicImport=function(p){var f=this.parseExprList(t.tokTypes.parenR);return p.source=f[0]||this.dummyString(),p.options=f[1]||null,this.finishNode(p,"ImportExpression")},g.parseImportMeta=function(p){return this.next(),p.property=this.parseIdent(!0),this.finishNode(p,"MetaProperty")},g.parseNew=function(){var p=this.startNode(),f=this.curIndent,T=this.curLineStart,x=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(t.tokTypes.dot))return p.meta=x,p.property=this.parseIdent(!0),this.finishNode(p,"MetaProperty");var w=this.storeCurrentPos();return p.callee=this.parseSubscripts(this.parseExprAtom(),w,!0,f,T),this.tok.type===t.tokTypes.parenL?p.arguments=this.parseExprList(t.tokTypes.parenR):p.arguments=[],this.finishNode(p,"NewExpression")},g.parseTemplateElement=function(){var p=this.startNode();return this.tok.type===t.tokTypes.invalidTemplate?p.value={raw:this.tok.value,cooked:null}:p.value={raw:this.input.slice(this.tok.start,this.tok.end).replace(/\r\n?/g,` +`),cooked:this.tok.value},this.next(),p.tail=this.tok.type===t.tokTypes.backQuote,this.finishNode(p,"TemplateElement")},g.parseTemplate=function(){var p=this.startNode();this.next(),p.expressions=[];var f=this.parseTemplateElement();for(p.quasis=[f];!f.tail;)this.next(),p.expressions.push(this.parseExpression()),this.expect(t.tokTypes.braceR)?f=this.parseTemplateElement():(f=this.startNode(),f.value={cooked:"",raw:""},f.tail=!0,this.finishNode(f,"TemplateElement")),p.quasis.push(f);return this.expect(t.tokTypes.backQuote),this.finishNode(p,"TemplateLiteral")},g.parseObj=function(){var p=this.startNode();p.properties=[],this.pushCx();var f=this.curIndent+1,T=this.curLineStart;for(this.eat(t.tokTypes.braceL),this.curIndent+1<f&&(f=this.curIndent,T=this.curLineStart);!this.closes(t.tokTypes.braceR,f,T);){var x=this.startNode(),w=void 0,S=void 0,A=void 0;if(this.options.ecmaVersion>=9&&this.eat(t.tokTypes.ellipsis)){x.argument=this.parseMaybeAssign(),p.properties.push(this.finishNode(x,"SpreadElement")),this.eat(t.tokTypes.comma);continue}if(this.options.ecmaVersion>=6&&(A=this.storeCurrentPos(),x.method=!1,x.shorthand=!1,w=this.eat(t.tokTypes.star)),this.parsePropertyName(x),this.toks.isAsyncProp(x)?(S=!0,w=this.options.ecmaVersion>=9&&this.eat(t.tokTypes.star),this.parsePropertyName(x)):S=!1,i(x.key)){i(this.parseMaybeAssign())&&this.next(),this.eat(t.tokTypes.comma);continue}if(this.eat(t.tokTypes.colon))x.kind="init",x.value=this.parseMaybeAssign();else if(this.options.ecmaVersion>=6&&(this.tok.type===t.tokTypes.parenL||this.tok.type===t.tokTypes.braceL))x.kind="init",x.method=!0,x.value=this.parseMethod(w,S);else if(this.options.ecmaVersion>=5&&x.key.type==="Identifier"&&!x.computed&&(x.key.name==="get"||x.key.name==="set")&&this.tok.type!==t.tokTypes.comma&&this.tok.type!==t.tokTypes.braceR&&this.tok.type!==t.tokTypes.eq)x.kind=x.key.name,this.parsePropertyName(x),x.value=this.parseMethod(!1);else{if(x.kind="init",this.options.ecmaVersion>=6)if(this.eat(t.tokTypes.eq)){var q=this.startNodeAt(A);q.operator="=",q.left=x.key,q.right=this.parseMaybeAssign(),x.value=this.finishNode(q,"AssignmentExpression")}else x.value=x.key;else x.value=this.dummyIdent();x.shorthand=!0}p.properties.push(this.finishNode(x,"Property")),this.eat(t.tokTypes.comma)}return this.popCx(),this.eat(t.tokTypes.braceR)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),this.finishNode(p,"ObjectExpression")},g.parsePropertyName=function(p){if(this.options.ecmaVersion>=6)if(this.eat(t.tokTypes.bracketL)){p.computed=!0,p.key=this.parseExpression(),this.expect(t.tokTypes.bracketR);return}else p.computed=!1;var f=this.tok.type===t.tokTypes.num||this.tok.type===t.tokTypes.string?this.parseExprAtom():this.parseIdent();p.key=f||this.dummyIdent()},g.parsePropertyAccessor=function(){if(this.tok.type===t.tokTypes.name||this.tok.type.keyword)return this.parseIdent();if(this.tok.type===t.tokTypes.privateId)return this.parsePrivateIdent()},g.parseIdent=function(){var p=this.tok.type===t.tokTypes.name?this.tok.value:this.tok.type.keyword;if(!p)return this.dummyIdent();this.tok.type.keyword&&(this.toks.type=t.tokTypes.name);var f=this.startNode();return this.next(),f.name=p,this.finishNode(f,"Identifier")},g.parsePrivateIdent=function(){var p=this.startNode();return p.name=this.tok.value,this.next(),this.finishNode(p,"PrivateIdentifier")},g.initFunction=function(p){p.id=null,p.params=[],this.options.ecmaVersion>=6&&(p.generator=!1,p.expression=!1),this.options.ecmaVersion>=8&&(p.async=!1)},g.toAssignable=function(p,f){if(!(!p||p.type==="Identifier"||p.type==="MemberExpression"&&!f))if(p.type==="ParenthesizedExpression")this.toAssignable(p.expression,f);else{if(this.options.ecmaVersion<6)return this.dummyIdent();if(p.type==="ObjectExpression"){p.type="ObjectPattern";for(var T=0,x=p.properties;T<x.length;T+=1){var w=x[T];this.toAssignable(w,f)}}else if(p.type==="ArrayExpression")p.type="ArrayPattern",this.toAssignableList(p.elements,f);else if(p.type==="Property")this.toAssignable(p.value,f);else if(p.type==="SpreadElement")p.type="RestElement",this.toAssignable(p.argument,f);else if(p.type==="AssignmentExpression")p.type="AssignmentPattern",delete p.operator;else return this.dummyIdent()}return p},g.toAssignableList=function(p,f){for(var T=0,x=p;T<x.length;T+=1){var w=x[T];this.toAssignable(w,f)}return p},g.parseFunctionParams=function(p){return p=this.parseExprList(t.tokTypes.parenR),this.toAssignableList(p,!0)},g.parseMethod=function(p,f){var T=this.startNode(),x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(T),this.options.ecmaVersion>=6&&(T.generator=!!p),this.options.ecmaVersion>=8&&(T.async=!!f),this.inAsync=T.async,this.inGenerator=T.generator,this.inFunction=!0,T.params=this.parseFunctionParams(),T.body=this.parseBlock(),this.toks.adaptDirectivePrologue(T.body.body),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(T,"FunctionExpression")},g.parseArrowExpression=function(p,f,T){var x=this.inAsync,w=this.inGenerator,S=this.inFunction;return this.initFunction(p),this.options.ecmaVersion>=8&&(p.async=!!T),this.inAsync=p.async,this.inGenerator=!1,this.inFunction=!0,p.params=this.toAssignableList(f,!0),p.expression=this.tok.type!==t.tokTypes.braceL,p.expression?p.body=this.parseMaybeAssign():(p.body=this.parseBlock(),this.toks.adaptDirectivePrologue(p.body.body)),this.inAsync=x,this.inGenerator=w,this.inFunction=S,this.finishNode(p,"ArrowFunctionExpression")},g.parseExprList=function(p,f){this.pushCx();var T=this.curIndent,x=this.curLineStart,w=[];for(this.next();!this.closes(p,T+1,x);){if(this.eat(t.tokTypes.comma)){w.push(f?null:this.dummyIdent());continue}var S=this.parseMaybeAssign();if(i(S)){if(this.closes(p,T,x))break;this.next()}else w.push(S);this.eat(t.tokTypes.comma)}return this.popCx(),this.eat(p)||(this.last.end=this.tok.start,this.options.locations&&(this.last.loc.end=this.tok.loc.start)),w},g.parseAwait=function(){var p=this.startNode();return this.next(),p.argument=this.parseMaybeUnary(),this.finishNode(p,"AwaitExpression")},t.defaultOptions.tabSize=4;function O(p,f){return a.parse(p,f)}e.LooseParser=a,e.isDummy=i,e.parse=O})});var Uo=Di(),r_=lu(),vr=f1(),o_=bf(),Pf=If(),Fs=null;function Nf(){return new Proxy({},{get:function(e,t){if(t in e)return e[t];var s=String(t).split("#"),i=s[0],r=s[1]||"default",a={id:i,chunks:[i],name:r,async:!0};return e[t]=a,a}})}var $c={};function Ef(e,t,s){var i=vr.registerServerReference(e,t,s),r=t+"#"+s;return $c[r]=e,i}function a_(e){if(e.indexOf("use client")===-1&&e.indexOf("use server")===-1)return null;try{var t=Pf.parse(e,{ecmaVersion:"2024",sourceType:"source"}).body}catch{return null}for(var s=0;s<t.length;s++){var i=t[s];if(i.type!=="ExpressionStatement"||!i.directive)break;if(i.directive==="use client")return"use client";if(i.directive==="use server")return"use server"}return null}function l_(e){if(e.indexOf("use server")===-1)return e;var t;try{t=Pf.parse(e,{ecmaVersion:"2024",sourceType:"source"})}catch{return e}var s=[],i=0;function r(T,x){if(!(!T||typeof T!="object")){var w=T.type==="FunctionDeclaration"||T.type==="FunctionExpression"||T.type==="ArrowFunctionExpression";if(w&&x>0&&T.body&&T.body.type==="BlockStatement")for(var S=T.body.body,A=0;A<S.length;A++){var q=S[A];if(q.type!=="ExpressionStatement")break;if(q.directive==="use server"){s.push({funcStart:T.start,funcEnd:T.end,dStart:q.start,dEnd:q.end,name:T.id?T.id.name:"action"+i,isDecl:T.type==="FunctionDeclaration"}),i++;return}if(!q.directive)break}var M=w?x+1:x;for(var c in T)if(!(c==="start"||c==="end"||c==="type")){var R=T[c];if(Array.isArray(R))for(var W=0;W<R.length;W++)R[W]&&typeof R[W].type=="string"&&r(R[W],M);else R&&typeof R.type=="string"&&r(R,M)}}}if(t.body.forEach(function(T){r(T,0)}),s.length===0)return e;s.sort(function(T,x){return x.funcStart-T.funcStart});for(var a=e,u=0;u<s.length;u++){for(var d=s[u],v=d.dEnd,g=a.charAt(v);v<a.length&&(g===" "||g===` +`||g==="\r"||g===" ");)v++,g=a.charAt(v);a=a.slice(0,d.dStart)+a.slice(v);var O=v-d.dStart,p=d.funcEnd-O,f=a.slice(d.funcStart,p);d.isDecl?a=a.slice(0,d.funcStart)+"var "+d.name+" = __rsa("+f+", '"+d.name+"');"+a.slice(p):a=a.slice(0,d.funcStart)+"__rsa("+f+", '"+d.name+"')"+a.slice(p)}return a}function c_(e,t){if(!t.startsWith("."))return t;var s=e.split("/");s.pop();for(var i=t.split("/"),r=0;r<i.length;r++)if(i[r]!=="."){if(i[r]===".."){s.pop();continue}s.push(i[r])}return s.join("/")}function u_(e){$c={};var t={react:Uo,"react/jsx-runtime":r_},s={},i=null;if(Object.keys(e).forEach(function(f){if(!i)try{s[f]=o_.transform(e[f],{transforms:["jsx","imports"],jsxRuntime:"automatic",production:!0}).code}catch(T){i=f+": "+(T.message||String(T))}}),i)return{type:"error",error:i};function r(f,T){if(t[T])return T;if(T.startsWith(".")){var x=c_(f,T);if(t[x]||s[x])return x;for(var w=[".js",".jsx",".ts",".tsx"],S=0;S<w.length;S++){var A=x+w[S];if(t[A]||s[A])return A}}return T}var a={},u={};function d(f){if(t[f])return t[f];if(!s[f])throw new Error('Module "'+f+'" not found');if(a[f])return a[f].exports;var T=a_(e[f]);if(T==="use client")return t[f]=vr.createClientModuleProxy(f),u[f]=!0,t[f];var x={exports:{}};a[f]=x;var w=function(c){if(c.endsWith(".css"))return{};var R=r(f,c);return t[R]?t[R]:d(R)},S=s[f];if(T!=="use server"&&(S=l_(S)),new Function("module","exports","require","React","__rsa",S)(x,x.exports,w,Uo,function(c,R){return Ef(c,f,R)}),t[f]=x.exports,T==="use server")for(var A=Object.keys(x.exports),q=0;q<A.length;q++){var M=A[q];typeof x.exports[M]=="function"&&Ef(x.exports[M],f,M)}return delete a[f],x.exports}var v={exports:{}};Object.keys(s).forEach(function(f){d(f),(f==="/src/App.js"||f==="./App.js"||f==="./src/App.js")&&(v.exports=t[f])}),Fs={module:v.exports};var g={};function O(f){if(!g[f]){g[f]=!0;var T=s[f];if(T)for(var x=/require\(["']([^"']+)["']\)/g,w;(w=x.exec(T))!==null;){var S=w[1];if(!(S==="react"||S==="react/jsx-runtime"||S==="react/jsx-dev-runtime"||S.endsWith(".css"))){var A=r(f,S);s[A]&&O(A)}}}}Object.keys(u).forEach(function(f){O(f)});var p={};return Object.keys(g).forEach(function(f){p[f]=s[f]}),{type:"deployed",compiledClients:p,clientEntries:u}}function p_(){if(!Fs)throw new Error("No code deployed");var e=Fs.module.default||Fs.module,t=Uo.createElement(e);return vr.renderToReadableStream(t,Nf(),{onError:function(s){return console.error("[RSC Server Error]",s),msg}})}function h_(e,t){if(!Fs)throw new Error("No code deployed");var s=$c[e];if(!s)throw new Error('Action "'+e+'" not found');var i=t;if(typeof t!="string"&&t&&t.__formData){i=new FormData;for(var r=0;r<t.__formData.length;r++)i.append(t.__formData[r][0],t.__formData[r][1])}return Promise.resolve(vr.decodeReply(i)).then(function(a){var u=Promise.resolve(s.apply(null,a));return u.then(function(){var d=Fs.module.default||Fs.module;return vr.renderToReadableStream({root:Uo.createElement(d),returnValue:u},Nf(),{onError:function(v){return console.error("[RSC Server Error]",v),msg}})})})}function Af(e,t){var s=t.getReader();function i(){return s.read().then(function(r){if(r.done){self.postMessage({type:"rsc-chunk",requestId:e,done:!0});return}return self.postMessage({type:"rsc-chunk",requestId:e,done:!1,chunk:r.value},[r.value.buffer]),i()})}i().catch(function(r){self.postMessage({type:"rsc-error",requestId:e,error:String(r)})})}self.onmessage=function(e){var t=e.data;if(t.type==="deploy")try{var s=u_(t.files);s&&s.type==="error"?self.postMessage({type:"rsc-error",error:s.error}):s&&self.postMessage({type:"deploy-result",result:s})}catch(r){self.postMessage({type:"rsc-error",error:String(r)})}else if(t.type==="render")try{var i=p_();Promise.resolve(i).then(function(r){Af(t.requestId,r)}).catch(function(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})})}catch(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})}else if(t.type==="callAction")try{h_(t.actionId,t.encodedArgs).then(function(r){Af(t.requestId,r)}).catch(function(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})})}catch(r){self.postMessage({type:"rsc-error",requestId:t.requestId,error:String(r)})}};self.postMessage({type:"ready"});})(); /*! Bundled license information: react/cjs/react.react-server.production.js: diff --git a/src/components/MDX/Sandpack/template.ts b/src/components/MDX/Sandpack/template.ts index fa8c9e486..5f4a8ccd5 100644 --- a/src/components/MDX/Sandpack/template.ts +++ b/src/components/MDX/Sandpack/template.ts @@ -35,8 +35,8 @@ root.render( eject: 'react-scripts eject', }, dependencies: { - react: '^19.2.1', - 'react-dom': '^19.2.1', + react: '19.3.0-canary-f1f7ed2a-20260904', + 'react-dom': '19.3.0-canary-f1f7ed2a-20260904', 'react-scripts': '^5.0.0', }, }, diff --git a/src/components/MDX/Sandpack/templateRSC.ts b/src/components/MDX/Sandpack/templateRSC.ts index efc4c940c..8073ec409 100644 --- a/src/components/MDX/Sandpack/templateRSC.ts +++ b/src/components/MDX/Sandpack/templateRSC.ts @@ -91,8 +91,8 @@ export const templateRSC: SandpackFiles = { version: '0.0.0', main: '/src/index.js', dependencies: { - react: '19.2.4', - 'react-dom': '19.2.4', + react: '19.3.0-canary-f1f7ed2a-20260904', + 'react-dom': '19.3.0-canary-f1f7ed2a-20260904', }, }, null, diff --git a/src/components/MDX/SandpackWithHTMLOutput.tsx b/src/components/MDX/SandpackWithHTMLOutput.tsx index 1d9e7f42d..8e7cbf2f9 100644 --- a/src/components/MDX/SandpackWithHTMLOutput.tsx +++ b/src/components/MDX/SandpackWithHTMLOutput.tsx @@ -56,8 +56,8 @@ export default function formatHTML(markup) { const packageJSON = ` { "dependencies": { - "react": "^19.2.1", - "react-dom": "^19.2.1", + "react": "^19.3.0", + "react-dom": "^19.3.0", "react-scripts": "^5.0.0", "html-format": "^1.1.2" }, diff --git a/src/components/MDX/TeamMember.tsx b/src/components/MDX/TeamMember.tsx index 2d0c65537..2716fa2d1 100644 --- a/src/components/MDX/TeamMember.tsx +++ b/src/components/MDX/TeamMember.tsx @@ -23,13 +23,49 @@ interface TeamMemberProps { name: string; title: string; permalink: string; - children: React.ReactNode; + children?: React.ReactNode; photo: string; twitter?: string; threads?: string; bsky?: string; github?: string; personal?: string; + // Comma-separated list of working groups. Suffix a group with `*` to mark + // that the member represents it on the Leadership Council, e.g. "Fiber*, DOM". + group?: string; +} + +function GroupBadges({group}: {group: string}) { + const groups = group + .split(',') + .map((g) => g.trim()) + .filter(Boolean); + if (groups.length === 0) { + return null; + } + return ( + <div className="flex flex-row flex-wrap gap-2 my-3"> + {groups.map((g) => { + const isLead = g.endsWith('*'); + const label = isLead ? g.slice(0, -1).trim() : g; + return ( + <span + key={g} + className="inline-flex items-center rounded-full bg-blue-10 dark:bg-gray-80 text-link dark:text-link-dark px-3 py-1 text-sm font-medium whitespace-nowrap"> + {label} + {isLead && ( + <span + className="ps-1 text-yellow-50" + aria-label="Leadership Council" + title="Leadership Council"> + โ˜… + </span> + )} + </span> + ); + })} + </div> + ); } // TODO: good alt text for images/links @@ -44,12 +80,11 @@ export function TeamMember({ threads, bsky, personal, + group, }: TeamMemberProps) { - if (name == null || title == null || permalink == null || children == null) { + if (name == null || title == null || permalink == null) { const identifier = name ?? title ?? permalink ?? 'unknown'; - throw new Error( - `Expected name, title, permalink, and children for ${identifier}` - ); + throw new Error(`Expected name, title, and permalink for ${identifier}`); } return ( <div className="pb-6 sm:pb-10"> @@ -69,6 +104,7 @@ export function TeamMember({ {name} </H3> {title && <div>{title}</div>} + {group && <GroupBadges group={group} />} {children} <div className="sm:flex sm:flex-row flex-wrap text-secondary dark:text-secondary-dark"> {twitter && ( diff --git a/src/components/MDX/TocContext.tsx b/src/components/MDX/TocContext.tsx index 924e6e09e..804895369 100644 --- a/src/components/MDX/TocContext.tsx +++ b/src/components/MDX/TocContext.tsx @@ -20,3 +20,6 @@ export type TocItem = { export type Toc = Array<TocItem>; export const TocContext = createContext<Toc>([]); + +// Lets badge components render compactly when inside the table of contents. +export const IsInTocContext = createContext(false); diff --git a/src/content/blog/2022/03/29/react-v18.md b/src/content/blog/2022/03/29/react-v18.md index 0e8c7007e..5131936e7 100644 --- a/src/content/blog/2022/03/29/react-v18.md +++ b/src/content/blog/2022/03/29/react-v18.md @@ -311,31 +311,31 @@ React 18์˜ Strict ๋ชจ๋“œ์—์„œ๋Š” ๊ฐœ๋ฐœ ๋ชจ๋“œ์—์„œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋งˆ์šดํŠธ ### React DOM Server {/*react-dom-server-1*/} -* Add the new streaming renderer. ([#14144](https://github.com/facebook/react/pull/14144), [#20970](https://github.com/facebook/react/pull/20970), [#21056](https://github.com/facebook/react/pull/21056), [#21255](https://github.com/facebook/react/pull/21255), [#21200](https://github.com/facebook/react/pull/21200), [#21257](https://github.com/facebook/react/pull/21257), [#21276](https://github.com/facebook/react/pull/21276), [#22443](https://github.com/facebook/react/pull/22443), [#22450](https://github.com/facebook/react/pull/22450), [#23247](https://github.com/facebook/react/pull/23247), [#24025](https://github.com/facebook/react/pull/24025), [#24030](https://github.com/facebook/react/pull/24030) by [@sebmarkbage](https://github.com/sebmarkbage)) -* Fix context providers in SSR when handling multiple requests. ([#23171](https://github.com/facebook/react/pull/23171) by [@frandiox](https://github.com/frandiox)) -* Revert to client render on text mismatch. ([#23354](https://github.com/facebook/react/pull/23354) by [@acdlite](https://github.com/acdlite)) -* Deprecate `renderToNodeStream`. ([#23359](https://github.com/facebook/react/pull/23359) by [@sebmarkbage](https://github.com/sebmarkbage)) -* Fix a spurious error log in the new server renderer. ([#24043](https://github.com/facebook/react/pull/24043) by [@eps1lon](https://github.com/eps1lon)) -* Fix a bug in the new server renderer. ([#22617](https://github.com/facebook/react/pull/22617) by [@shuding](https://github.com/shuding)) -* Ignore function and symbol values inside custom elements on the server. ([#21157](https://github.com/facebook/react/pull/21157) by [@sebmarkbage](https://github.com/sebmarkbage)) +* Add the new streaming renderer. ([#14144](https://github.com/react/react/pull/14144), [#20970](https://github.com/react/react/pull/20970), [#21056](https://github.com/react/react/pull/21056), [#21255](https://github.com/react/react/pull/21255), [#21200](https://github.com/react/react/pull/21200), [#21257](https://github.com/react/react/pull/21257), [#21276](https://github.com/react/react/pull/21276), [#22443](https://github.com/react/react/pull/22443), [#22450](https://github.com/react/react/pull/22450), [#23247](https://github.com/react/react/pull/23247), [#24025](https://github.com/react/react/pull/24025), [#24030](https://github.com/react/react/pull/24030) by [@sebmarkbage](https://github.com/sebmarkbage)) +* Fix context providers in SSR when handling multiple requests. ([#23171](https://github.com/react/react/pull/23171) by [@frandiox](https://github.com/frandiox)) +* Revert to client render on text mismatch. ([#23354](https://github.com/react/react/pull/23354) by [@acdlite](https://github.com/acdlite)) +* Deprecate `renderToNodeStream`. ([#23359](https://github.com/react/react/pull/23359) by [@sebmarkbage](https://github.com/sebmarkbage)) +* Fix a spurious error log in the new server renderer. ([#24043](https://github.com/react/react/pull/24043) by [@eps1lon](https://github.com/eps1lon)) +* Fix a bug in the new server renderer. ([#22617](https://github.com/react/react/pull/22617) by [@shuding](https://github.com/shuding)) +* Ignore function and symbol values inside custom elements on the server. ([#21157](https://github.com/react/react/pull/21157) by [@sebmarkbage](https://github.com/sebmarkbage)) ### React DOM Test Utils {/*react-dom-test-utils*/} -* Throw when `act` is used in production. ([#21686](https://github.com/facebook/react/pull/21686) by [@acdlite](https://github.com/acdlite)) -* Support disabling spurious act warnings with `global.IS_REACT_ACT_ENVIRONMENT`. ([#22561](https://github.com/facebook/react/pull/22561) by [@acdlite](https://github.com/acdlite)) -* Expand act warning to cover all APIs that might schedule React work. ([#22607](https://github.com/facebook/react/pull/22607) by [@acdlite](https://github.com/acdlite)) -* Make `act` batch updates. ([#21797](https://github.com/facebook/react/pull/21797) by [@acdlite](https://github.com/acdlite)) -* Remove warning for dangling passive effects. ([#22609](https://github.com/facebook/react/pull/22609) by [@acdlite](https://github.com/acdlite)) +* Throw when `act` is used in production. ([#21686](https://github.com/react/react/pull/21686) by [@acdlite](https://github.com/acdlite)) +* Support disabling spurious act warnings with `global.IS_REACT_ACT_ENVIRONMENT`. ([#22561](https://github.com/react/react/pull/22561) by [@acdlite](https://github.com/acdlite)) +* Expand act warning to cover all APIs that might schedule React work. ([#22607](https://github.com/react/react/pull/22607) by [@acdlite](https://github.com/acdlite)) +* Make `act` batch updates. ([#21797](https://github.com/react/react/pull/21797) by [@acdlite](https://github.com/acdlite)) +* Remove warning for dangling passive effects. ([#22609](https://github.com/react/react/pull/22609) by [@acdlite](https://github.com/acdlite)) ### React Refresh {/*react-refresh*/} -* Track late-mounted roots in Fast Refresh. ([#22740](https://github.com/facebook/react/pull/22740) by [@anc95](https://github.com/anc95)) -* Add `exports` field to `package.json`. ([#23087](https://github.com/facebook/react/pull/23087) by [@otakustay](https://github.com/otakustay)) +* Track late-mounted roots in Fast Refresh. ([#22740](https://github.com/react/react/pull/22740) by [@anc95](https://github.com/anc95)) +* Add `exports` field to `package.json`. ([#23087](https://github.com/react/react/pull/23087) by [@otakustay](https://github.com/otakustay)) ### Server Components (Experimental) {/*server-components-experimental*/} -* Add Server Context support. ([#23244](https://github.com/facebook/react/pull/23244) by [@salazarm](https://github.com/salazarm)) -* Add `lazy` support. ([#24068](https://github.com/facebook/react/pull/24068) by [@gnoff](https://github.com/gnoff)) -* Update webpack plugin for webpack 5 ([#22739](https://github.com/facebook/react/pull/22739) by [@michenly](https://github.com/michenly)) -* Fix a mistake in the Node loader. ([#22537](https://github.com/facebook/react/pull/22537) by [@btea](https://github.com/btea)) -* Use `globalThis` instead of `window` for edge environments. ([#22777](https://github.com/facebook/react/pull/22777) by [@huozhi](https://github.com/huozhi)) +* Add Server Context support. ([#23244](https://github.com/react/react/pull/23244) by [@salazarm](https://github.com/salazarm)) +* Add `lazy` support. ([#24068](https://github.com/react/react/pull/24068) by [@gnoff](https://github.com/gnoff)) +* Update webpack plugin for webpack 5 ([#22739](https://github.com/react/react/pull/22739) by [@michenly](https://github.com/michenly)) +* Fix a mistake in the Node loader. ([#22537](https://github.com/react/react/pull/22537) by [@btea](https://github.com/btea)) +* Use `globalThis` instead of `window` for edge environments. ([#22777](https://github.com/react/react/pull/22777) by [@huozhi](https://github.com/huozhi)) diff --git a/src/content/blog/2024/10/21/react-compiler-beta-release.md b/src/content/blog/2024/10/21/react-compiler-beta-release.md index 8a83ef4fd..f202a0df2 100644 --- a/src/content/blog/2024/10/21/react-compiler-beta-release.md +++ b/src/content/blog/2024/10/21/react-compiler-beta-release.md @@ -92,7 +92,7 @@ Because your code is pre-compiled, users of your library will not need to have t We previously announced the invite-only [React Compiler Working Group](https://github.com/reactwg/react-compiler) at React Conf to provide feedback, ask questions, and collaborate on the compiler's experimental release. -From today, together with the Beta release of React Compiler, we are opening up Working Group membership to everyone. The goal of the React Compiler Working Group is to prepare the ecosystem for a smooth, gradual adoption of React Compiler by existing applications and libraries. Please continue to file bug reports in the [React repo](https://github.com/facebook/react), but please leave feedback, ask questions, or share ideas in the [Working Group discussion forum](https://github.com/reactwg/react-compiler/discussions). +From today, together with the Beta release of React Compiler, we are opening up Working Group membership to everyone. The goal of the React Compiler Working Group is to prepare the ecosystem for a smooth, gradual adoption of React Compiler by existing applications and libraries. Please continue to file bug reports in the [React repo](https://github.com/react/react), but please leave feedback, ask questions, or share ideas in the [Working Group discussion forum](https://github.com/reactwg/react-compiler/discussions). The core team will also use the discussions repo to share our research findings. As the Stable Release gets closer, any important information will also be posted on this forum. @@ -127,7 +127,7 @@ Thanks to [Sathya Gunasekaran](https://twitter.com/_gsathya), [Joe Savona](https --- -[^1]: Thanks [@nikeee](https://github.com/facebook/react/pulls?q=is%3Apr+author%3Anikeee), [@henryqdineen](https://github.com/facebook/react/pulls?q=is%3Apr+author%3Ahenryqdineen), [@TrickyPi](https://github.com/facebook/react/pulls?q=is%3Apr+author%3ATrickyPi), and several others for their contributions to the compiler. +[^1]: Thanks [@nikeee](https://github.com/react/react/pulls?q=is%3Apr+author%3Anikeee), [@henryqdineen](https://github.com/react/react/pulls?q=is%3Apr+author%3Ahenryqdineen), [@TrickyPi](https://github.com/react/react/pulls?q=is%3Apr+author%3ATrickyPi), and several others for their contributions to the compiler. [^2]: Thanks [Vaishali Garg](https://www.linkedin.com/in/vaishaligarg09) for leading this study on React Compiler at Meta, and for reviewing this post. diff --git a/src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md b/src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md index 55bf40b28..0cc480007 100644 --- a/src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md +++ b/src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md @@ -1245,8 +1245,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -2442,8 +2442,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -3670,8 +3670,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -4879,8 +4879,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -6195,8 +6195,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -7493,8 +7493,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -8814,8 +8814,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -10155,8 +10155,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -11441,8 +11441,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -12840,8 +12840,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { @@ -14178,8 +14178,8 @@ root.render( ```json package.json hidden { "dependencies": { - "react": "canary", - "react-dom": "canary", + "react": "19.3.0-canary-eb8feb71-20260814", + "react-dom": "19.3.0-canary-eb8feb71-20260814", "react-scripts": "latest" }, "scripts": { diff --git a/src/content/blog/2025/12/03/critical-security-vulnerability-in-react-server-components.md b/src/content/blog/2025/12/03/critical-security-vulnerability-in-react-server-components.md index 310a84116..a669a2c4e 100644 --- a/src/content/blog/2025/12/03/critical-security-vulnerability-in-react-server-components.md +++ b/src/content/blog/2025/12/03/critical-security-vulnerability-in-react-server-components.md @@ -34,7 +34,7 @@ The vulnerability is present in versions 19.0, 19.1.0, 19.1.1, and 19.2.0 of: ## Immediate Action Required {/*immediate-action-required*/} -A fix was introduced in versions [19.0.1](https://github.com/facebook/react/releases/tag/v19.0.1), [19.1.2](https://github.com/facebook/react/releases/tag/v19.1.2), and [19.2.1](https://github.com/facebook/react/releases/tag/v19.2.1). If you are using any of the above packages please upgrade to any of the fixed versions immediately. +A fix was introduced in versions [19.0.1](https://github.com/react/react/releases/tag/v19.0.1), [19.1.2](https://github.com/react/react/releases/tag/v19.1.2), and [19.2.1](https://github.com/react/react/releases/tag/v19.2.1). If you are using any of the above packages please upgrade to any of the fixed versions immediately. If your appโ€™s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability. @@ -193,7 +193,7 @@ If you are using React Native in a monorepo, you should update _only_ the impact This is required to mitigate the security advisory, but you do not need to update `react` and `react-dom` so this will not cause the version mismatch error in React Native. -See [this issue](https://github.com/facebook/react-native/issues/54772#issuecomment-3617929832) for more information. +See [this issue](https://github.com/react/react-native/issues/54772#issuecomment-3617929832) for more information. ## Timeline {/*timeline*/} diff --git a/src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md b/src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md index 6bdd93a47..10600e275 100644 --- a/src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md +++ b/src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md @@ -98,7 +98,7 @@ If you are using React Native in a monorepo, you should update _only_ the impact This is required to mitigate the security advisories, but you do not need to update `react` and `react-dom` so this will not cause the version mismatch error in React Native. -See [this issue](https://github.com/facebook/react-native/issues/54772#issuecomment-3617929832) for more information. +See [this issue](https://github.com/react/react-native/issues/54772#issuecomment-3617929832) for more information. --- diff --git a/src/content/blog/2026/09/09/react-19-3.md b/src/content/blog/2026/09/09/react-19-3.md new file mode 100644 index 000000000..ed6857732 --- /dev/null +++ b/src/content/blog/2026/09/09/react-19-3.md @@ -0,0 +1,1951 @@ +--- +title: "React 19.3" +author: The React Team +date: 2026/09/09 +description: React 19.3 adds new features like View Transitions, Fragment Refs, browser(), Trusted Types, and more. +--- + +September 9, 2026 by [The React Team](/community/team) + +--- + +<Intro> + +React 19.3 is now available on npm! + +</Intro> + + +[Last year](/blog/2025/04/23/react-labs-view-transitions-activity-and-more), we shared View Transitions and Fragment Refs as new experimental APIs coming to React. We're excited to announce that both of these are now stable in React 19.3! + +In this post, we'll go over how they work, and also cover some other notable changes in this release. + +<InlineToc /> + +--- + +## New React Features {/*new-react-features*/} + +### View Transitions {/*view-transition*/} + +The new `<ViewTransition>` component lets you animate elements as they enter, exit, move, or resize using the browser's [View Transition API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API). We shared it as an experimental API [last year](/blog/2025/04/23/react-labs-view-transitions-activity-and-more#view-transitions), and in 19.3 it's stable and ready to use. + +To animate part of your UI, wrap it in `<ViewTransition>`: + +```js +import { ViewTransition } from 'react'; + +{isShowing && ( + <ViewTransition> + <Component /> + </ViewTransition> +)} +``` + +Now, whenever an update marked as a [Transition](/reference/react/useTransition) changes the child component's style, or causes the `ViewTransition` to be mounted or unmounted, React will animate that update. + +{/* +Updates outside of a Transition don't trigger animations, as those are meant to be urgent and reflected immediately in the UI. State updates inside of [startTransition](/reference/react/startTransition), a [`<Suspense>`](/reference/react/Suspense) reveal, or an update from [`useDeferredValue`](/reference/react/useDeferredValue) all cause a View Transition to animate. +*/} + +React chooses which animation to run based on how the tree changed: + +- **enter**: the `<ViewTransition>` is added. +- **exit**: the `<ViewTransition>` is removed. +- **update**: the children of a `<ViewTransition>` change style or content. +- **share**: a named `<ViewTransition>` is removed in one place and added in another. + +Note that updates not marked as Transitions don't trigger animations, as those are meant to be urgent and reflected immediately in the UI. State updates inside of [startTransition](/reference/react/startTransition), a [`<Suspense>`](/reference/react/Suspense) reveal, or an update from [`useDeferredValue`](/reference/react/useDeferredValue) all cause a View Transition to animate. + +Here's a simple example of an enter/exit animation: + +<Sandpack> + +```js src/Video.js hidden +function Thumbnail({video, children}) { + return ( + <div + aria-hidden="true" + tabIndex={-1} + className={`thumbnail ${video.image}`} + /> + ); +} + +export function Video({video}) { + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title">{video.title}</div> + <div className="video-description">{video.description}</div> + </div> + </div> + </div> + ); +} +``` + +```js +import { ViewTransition, useState, startTransition } from 'react'; +import { Video } from './Video'; +import videos from './data'; + +export default function Component() { + const [showItem, setShowItem] = useState(false); + + return ( + <> + <button + onClick={() => { + startTransition(() => { + setShowItem((prev) => !prev); + }); + }}> + {showItem ? 'โž–' : 'โž•'} + </button> + + {showItem && ( + <ViewTransition> + <Video video={videos[0]} /> + </ViewTransition> + )} + </> + ); +} +``` + +```js src/data.js hidden +export default [ + { + id: '1', + title: 'First video', + description: 'Video description', + image: 'blue', + }, +]; +``` + +```css +#root { + display: flex; + flex-direction: column; + align-items: center; + min-height: 200px; +} +button { + border: none; + border-radius: 50%; + width: 50px; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f8ff; + color: white; + font-size: 20px; + cursor: pointer; + transition: background-color 0.3s, border 0.3s; +} +button:hover { + border: 2px solid #ccc; + background-color: #e0e8ff; +} +.thumbnail { + position: relative; + aspect-ratio: 16 / 9; + display: flex; + overflow: hidden; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 0.5rem; + outline-offset: 2px; + width: 8rem; + vertical-align: middle; + background-color: #ffffff; + background-size: cover; + user-select: none; +} +.thumbnail.blue { + background-image: conic-gradient(at top right, #c76a15, #087ea4, #2b3491); +} +.video { + display: flex; + flex-direction: row; + gap: 0.75rem; + align-items: center; + margin-top: 1em; +} +.video .link { + display: flex; + flex-direction: row; + flex: 1 1 0; + gap: 0.125rem; + outline-offset: 4px; + cursor: pointer; +} +.video .info { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 8px; + gap: 0.125rem; +} +.video .info:hover { + text-decoration: underline; +} +.video-title { + font-size: 15px; + line-height: 1.25; + font-weight: 700; + color: #23272f; +} +.video-description { + color: #5e687e; + font-size: 13px; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +By default, `<ViewTransition>` animates with a smooth cross-fade. You can customize each kind of animation by passing a [View Transition Class](/reference/react/ViewTransition#view-transition-class) and defining the animation in CSS, or you can use the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API) to trigger animations imperatively with the [event props](/reference/react/ViewTransition#view-transition-event) (`onEnter`, `onExit`, `onShare`, `onUpdate`). + +{/* +There are a couple of rules to keep in mind. A `<ViewTransition>` only animates on enter and exit if it's the first thing rendered in its subtree, before any DOM node, and each shared `name` must be unique across your app at any given time. See [Troubleshooting](/reference/react/ViewTransition#troubleshooting) for the details. + */} + +Currently, `<ViewTransition>` only works in the DOM. We're working on support for React Native and other platforms. + +For more, see the [`<ViewTransition>` docs](/reference/react/ViewTransition). + +--- + +#### `addTransitionType` {/*add-transition-type*/} + +Sometimes, you'll want to customize which animation is used for the same state update. For example, navigating a carousel _forward_ to the third slide should animate the slides right-to-left, while navigating it _backward_ should animate them left-to-right, even though both actions set the currentSlide to 3. + +You can customize the animation for a given View Transition by calling `addTransitionType` alongside the state update. This lets you add more information about the _cause_ of a particular transition: + +```js {3,10} +function nextSlide() { + startTransition(() => { + addTransitionType('next'); + setCurrentSlide(c => c + 1); + }); +} + +function previousSlide() { + startTransition(() => { + addTransitionType('previous'); + setCurrentSlide(c => c - 1); + }); +} +``` + +Then, you can specify different animations based on that transition type: + +```js +<ViewTransition + enter={{ + 'next': 'from-right', + 'previous': 'from-left', + }} + exit={{ + 'next': 'to-left', + 'previous': 'to-right', + }} +> + <Page /> +</ViewTransition> +``` + +Here's an example: + +<Sandpack> + +```js src/Video.js hidden +function Thumbnail({video, children}) { + return ( + <div + aria-hidden="true" + tabIndex={-1} + className={`thumbnail ${video.image}`} + /> + ); +} + +export function Video({video}) { + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title">{video.title}</div> + <div className="video-description">{video.description}</div> + </div> + </div> + </div> + ); +} +``` + +```js +import { + ViewTransition, + addTransitionType, + useState, + startTransition, + Fragment +} from 'react'; +import { Video } from './Video'; +import videos from './data'; +import './animations.css'; + +export default function Component() { + const [selected, setSelected] = useState(0) + const video = videos[selected]; + + return ( + <> + <div className="button-container"> + <button + onClick={() => { + startTransition(() => { + addTransitionType('previous'); + setSelected(c => c > 0 ? c - 1 : videos.length - 1 ) + }); + }}> + โฌ…๏ธ + </button> + <button + onClick={() => { + startTransition(() => { + addTransitionType('next'); + setSelected(c => c + 1 < videos.length ? c + 1 : 0) + }); + }}> + โžก๏ธ + </button> + </div> + + <ViewTransition + key={video.id} + enter={{ + 'next': 'from-right', + 'previous': 'from-left' + }} + exit={{ + 'next': 'to-left', + 'previous': 'to-right' + }} + > + <Video video={video} /> + </ViewTransition> + </> + ); +} +``` + +```js src/data.js hidden +export default [ + { + id: '1', + title: 'First video', + description: 'Video description', + image: 'blue', + }, + { + id: '2', + title: 'Second video', + description: 'Video description', + image: 'red', + }, + { + id: '3', + title: 'Third video', + description: 'Video description', + image: 'green', + }, + { + id: '4', + title: 'Fourth video', + description: 'Video description', + image: 'purple', + }, + { + id: '5', + title: 'Fifth video', + description: 'Video description', + image: 'yellow', + }, + { + id: '6', + title: 'Sixth video', + description: 'Video description', + image: 'gray', + }, +]; +``` + +```css src/animations.css +::view-transition-old(*), +::view-transition-new(*) { + animation-duration: 250ms; + animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); +} + +::view-transition-new(.from-right) { + --offset: 100%; + animation-name: slide-in; +} + +::view-transition-new(.from-left) { + --offset: -100%; + animation-name: slide-in; +} + +::view-transition-old(.to-right) { + --offset: 100%; + animation-name: slide-out; +} + +::view-transition-old(.to-left) { + --offset: -100%; + animation-name: slide-out; +} + +@keyframes slide-in { + from { + transform: translateX(var(--offset)); + opacity: 0; + } +} + +@keyframes slide-out { + to { + transform: translateX(var(--offset)); + opacity: 0; + } +} +``` + +```css src/styles.css +#root { + display: flex; + flex-direction: column; + align-items: center; + min-height: 200px; +} +button { + border: none; + border-radius: 50%; + width: 50px; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f8ff; + color: white; + font-size: 20px; + cursor: pointer; + transition: background-color 0.3s, border 0.3s; +} +button:hover { + border: 2px solid #ccc; + background-color: #e0e8ff; +} +.button-container { + display: flex; + gap: 8px; +} +.thumbnail { + position: relative; + aspect-ratio: 16 / 9; + display: flex; + overflow: hidden; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 0.5rem; + outline-offset: 2px; + width: 8rem; + vertical-align: middle; + background-color: #ffffff; + background-size: cover; + user-select: none; +} +.thumbnail.blue { + background-image: conic-gradient(at top right, #c76a15, #087ea4, #2b3491); +} + +.thumbnail.red { + background-image: conic-gradient(at top right, #c76a15, #a6423a, #2b3491); +} + +.thumbnail.green { + background-image: conic-gradient(at top right, #c76a15, #388f7f, #2b3491); +} + +.thumbnail.purple { + background-image: conic-gradient(at top right, #c76a15, #575fb7, #2b3491); +} + +.thumbnail.yellow { + background-image: conic-gradient(at top right, #c76a15, #FABD62, #2b3491); +} + +.thumbnail.gray { + background-image: conic-gradient(at top right, #c76a15, #4E5769, #2b3491); +} + +.video { + display: flex; + flex-direction: row; + gap: 0.75rem; + align-items: center; + margin-top: 1em; +} +.video .link { + display: flex; + flex-direction: row; + flex: 1 1 0; + gap: 0.125rem; + outline-offset: 4px; +} +.video .info { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 8px; + gap: 0.125rem; +} +.video-title { + font-size: 15px; + line-height: 1.25; + font-weight: 700; + color: #23272f; +} +.video-description { + color: #5e687e; + font-size: 13px; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +React also adds every Transition Type to the element as a browser [view transition type](https://www.w3.org/TR/css-view-transitions-2/#active-view-transition-pseudo-examples), so you can scope animations in CSS with `:active-view-transition-type(...)`. + +To learn more, see the [`addTransitionType` docs](/reference/react/addTransitionType). + +--- + +#### Animating fallbacks, images, and fonts with Suspense {/*animating-fallbacks-images-and-fonts-with-suspense*/} + +One of the most exciting things about View Transitions in React is how they integrate with Suspense. + +You can animate a Suspense boundary as it reveals its children by wrapping it in `<ViewTransition>`: + +```js +<ViewTransition> + <Suspense fallback={<Loading />}> + <Component /> + </Suspense> +</ViewTransition> +``` + +When the children finish loading, React will trigger an **update** animation from the fallback to the final content. + +Here's an example. Try pressing โž• to render a LazyVideo that suspends the first time it's rendered: + +<Sandpack> + +```js src/Video.js hidden +import { ViewTransition } from 'react'; + +function Thumbnail({video, children}) { + return ( + <div + aria-hidden="true" + tabIndex={-1} + className={`thumbnail ${video.image}`} + /> + ); +} + +export function Video({video}) { + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title">{video.title}</div> + <div className="video-description">{video.description}</div> + </div> + </div> + </div> + ); +} + +export function VideoPlaceholder() { + const video = {image: 'loading'}; + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title loading" /> + <div className="video-description loading" /> + </div> + </div> + </div> + ); +} +``` + +```js +import { Suspense, useState, startTransition, use, ViewTransition } from 'react'; +import { Video, VideoPlaceholder } from './Video'; +import { fetchVideo } from './data'; + +export default function Component() { + const [showItem, setShowItem] = useState(false); + + return ( + <> + <button + onClick={() => { + startTransition(() => { + setShowItem((prev) => !prev); + }); + }} + > + {showItem ? 'โž–' : 'โž•'} + </button> + + {showItem && ( + <ViewTransition> + <Suspense fallback={<VideoPlaceholder />}> + <LazyVideo /> + </Suspense> + </ViewTransition> + )} + </> + ); +} + +function LazyVideo() { + const video = use(fetchVideo()); + + return <Video video={video} />; +} +``` + + +```js src/data.js hidden +let cache = null; + +export function fetchVideo() { + if (!cache) { + cache = new Promise((resolve) => { + setTimeout(() => { + resolve({ + id: '1', + title: 'First video', + description: 'Video description', + image: 'blue', + }); + }, 1000); + }); + } + return cache; +} +``` + +```css +::view-transition-old(*), +::view-transition-new(*) { + /* animation-duration: 750ms; */ + /* animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); */ +} +#root { + display: flex; + flex-direction: column; + align-items: center; + min-height: 200px; +} +button { + border: none; + border-radius: 50%; + width: 50px; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f8ff; + color: white; + font-size: 20px; + cursor: pointer; + transition: background-color 0.3s, border 0.3s; +} +button:hover { + border: 2px solid #ccc; + background-color: #e0e8ff; +} +.thumbnail { + position: relative; + aspect-ratio: 16 / 9; + display: flex; + overflow: hidden; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 0.5rem; + outline-offset: 2px; + width: 8rem; + vertical-align: middle; + background-color: #ffffff; + background-size: cover; + user-select: none; +} +.thumbnail.blue { + background-image: conic-gradient(at top right, #c76a15, #087ea4, #2b3491); +} +.loading { + background-image: linear-gradient( + 90deg, + rgba(173, 216, 230, 0.3) 25%, + rgba(135, 206, 250, 0.5) 50%, + rgba(173, 216, 230, 0.3) 75% + ); + background-size: 200% 100%; + animation: shimmer 1.5s infinite; + z-index: 999; +} +@keyframes shimmer { + 0% { + background-position: -200% 0; + } + 100% { + background-position: 200% 0; + } +} +.video { + display: flex; + flex-direction: row; + gap: 0.75rem; + align-items: center; + margin-top: 1em; +} +.video .link { + display: flex; + flex-direction: row; + flex: 1 1 0; + gap: 0.125rem; + outline-offset: 4px; +} +.video .info { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 8px; + gap: 0.125rem; +} +.video-title { + font-size: 15px; + line-height: 1.25; + font-weight: 700; + color: #23272f; +} +.video-title.loading { + height: 20px; + width: 80px; + border-radius: 0.5rem; +} +.video-description { + color: #5e687e; + font-size: 13px; + border-radius: 0.5rem; +} +.video-description.loading { + height: 15px; + width: 100px; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +While this works, you'll notice that the video also animates in and out on subsequent reveals, even though it's already been loaded. (You might also notice that the fallback fades in the first time it's shown.) + +In general, animations with Suspense work best when they're used sparingly, and avoided for cached UI that would otherwise appear instantly. + +Here are some principles for achieving good UX when animating with Suspense: + +- Fallbacks should appear immediately _without animation_ +- A fallback should update to its final content _with animation_ +- Children that don't suspend should appear immediately _without animation_ + +This keeps your app feeling snappy when things are already loaded, and only uses animation to make the update from fallback to final content more seamless. + +To fix our example above, we can disable all animations other than updates: + +```js {1} +<ViewTransition update="auto" default="none"> + <Suspense fallback={<Fallback />}> + <Component /> + </Suspense> +</ViewTransition> +``` + +Let's see how it behaves now: + +<Sandpack> + +```js src/Video.js hidden +import { ViewTransition } from 'react'; + +function Thumbnail({video, children}) { + return ( + <div + aria-hidden="true" + tabIndex={-1} + className={`thumbnail ${video.image}`} + /> + ); +} + +export function Video({video}) { + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title">{video.title}</div> + <div className="video-description">{video.description}</div> + </div> + </div> + </div> + ); +} + +export function VideoPlaceholder() { + const video = {image: 'loading'}; + return ( + <div className="video"> + <div className="link"> + <Thumbnail video={video}></Thumbnail> + <div className="info"> + <div className="video-title loading" /> + <div className="video-description loading" /> + </div> + </div> + </div> + ); +} +``` + +```js +import { Suspense, useState, startTransition, use, ViewTransition } from 'react'; +import { Video, VideoPlaceholder } from './Video'; +import { fetchVideo } from './data'; + +export default function Component() { + const [showItem, setShowItem] = useState(false); + + return ( + <> + <button + onClick={() => { + startTransition(() => { + setShowItem((prev) => !prev); + }); + }} + > + {showItem ? 'โž–' : 'โž•'} + </button> + + {showItem && ( + <ViewTransition update="auto" default="none"> + <Suspense fallback={<VideoPlaceholder />}> + <LazyVideo /> + </Suspense> + </ViewTransition> + )} + </> + ); +} + +function LazyVideo() { + const video = use(fetchVideo()); + + return <Video video={video} />; +} +``` + + +```js src/data.js hidden +let cache = null; + +export function fetchVideo() { + if (!cache) { + cache = new Promise((resolve) => { + setTimeout(() => { + resolve({ + id: '1', + title: 'First video', + description: 'Video description', + image: 'blue', + }); + }, 1000); + }); + } + return cache; +} +``` + +```css +::view-transition-old(*), +::view-transition-new(*) { + /* animation-duration: 5000ms; */ + /* animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); */ +} +#root { + display: flex; + flex-direction: column; + align-items: center; + min-height: 200px; +} +button { + border: none; + border-radius: 50%; + width: 50px; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-color: #f0f8ff; + color: white; + font-size: 20px; + cursor: pointer; + transition: background-color 0.3s, border 0.3s; +} +button:hover { + border: 2px solid #ccc; + background-color: #e0e8ff; +} +.thumbnail { + position: relative; + aspect-ratio: 16 / 9; + display: flex; + overflow: hidden; + flex-direction: column; + justify-content: center; + align-items: center; + border-radius: 0.5rem; + outline-offset: 2px; + width: 8rem; + vertical-align: middle; + background-color: #ffffff; + background-size: cover; + user-select: none; +} +.thumbnail.blue { + background-image: conic-gradient(at top right, #c76a15, #087ea4, #2b3491); +} +.loading { + background-image: linear-gradient( + 90deg, + rgba(173, 216, 230, 0.3) 25%, + rgba(135, 206, 250, 0.5) 50%, + rgba(173, 216, 230, 0.3) 75% + ); + background-size: 200% 100%; + animation: shimmer 1.5s infinite; + z-index: 999; +} +@keyframes shimmer { + 0% { + background-position: -200% 0; + } + 100% { + background-position: 200% 0; + } +} +.video { + display: flex; + flex-direction: row; + gap: 0.75rem; + align-items: center; + margin-top: 1em; +} +.video .link { + display: flex; + flex-direction: row; + flex: 1 1 0; + gap: 0.125rem; + outline-offset: 4px; +} +.video .info { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 8px; + gap: 0.125rem; +} +.video-title { + font-size: 15px; + line-height: 1.25; + font-weight: 700; + color: #23272f; +} +.video-title.loading { + height: 20px; + width: 80px; + border-radius: 0.5rem; +} +.video-description { + color: #5e687e; + font-size: 13px; + border-radius: 0.5rem; +} +.video-description.loading { + height: 15px; + width: 100px; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +Notice how the fallback appears immediately when tapping the button, which keeps our UI feeling responsive to user actions. Additionally, once the video has been loaded, toggling it is instant. + +There are other patterns you can use depending on what effect you want to achieve. To learn more, check out the docs on [animating with Suspense](/reference/react/ViewTransition#animating-from-suspense-content). + +--- + +In addition to animating fallbacks, View Transitions act as a way to opt images or fonts into triggering Suspense while they load. + +This lets you avoid the browser's default behavior where images or fonts may flicker in whenever they happen to finish loading, and instead build coordinated loading sequences that consider all of a component's resources. + +Wrap images or fonts inside of `<ViewTransition>` to trigger Suspense while they load: + +```js +<ViewTransition> + <Suspense fallback={<Fallback />}> + <img src={imageSrc} /> + + <style href={fontSrc} precedence="default"> + {`@font-face { + font-family: 'Fancy'; + src: url(${fontSrc}) format('truetype'); + font-display: swap; + }`} + </style> + </Suspense> +</ViewTransition> +``` + +Here's an example of a component that suspends until its data, image, and font have all loaded: + + +<Sandpack> + +```js +import { ViewTransition, Suspense, use, useState, startTransition } from 'react'; +import { fetchQuote } from './data.js'; +import { freshStylesheetUrl, freshImageUrl } from './resources.js'; +import { ProfileCard, ProfileCardLoading } from './ProfileCard.js'; +import { VanillaProfileCard } from './VanillaProfileCard.js'; + +export default function App() { + const [resources, setResources] = useState(null); + return ( + <> + <button + onClick={() => { + startTransition(() => { + setResources({ + quotePromise: fetchQuote(), + stylesheet: freshStylesheetUrl(), + image: freshImageUrl(), + }); + }); + }}> + Show profile + </button> + + {resources && ( + <ViewTransition update='auto' default='none'> + <Suspense fallback={<ProfileCardLoading />}> + <ProfileCard resources={resources} /> + </Suspense> + </ViewTransition> + )} + + <hr /> + + <VanillaProfileCard /> + </> + ); +} +``` + +```js src/ProfileCard.js +import { use } from 'react'; + +export function ProfileCard({ resources }) { + const quote = use(resources.quotePromise); + return ( + <> + <link rel="stylesheet" href={resources.stylesheet} precedence="default" /> + <div className="profile-card"> + <img src={resources.image} alt="Jack Pope" width={80} height={80} /> + <div> + <p className="name">Jack Pope</p> + <p className="bio">{quote}</p> + </div> + </div> + </> + ); +} + +export function ProfileCardLoading() { + return ( + <div className="profile-card"> + <div className="avatar-placeholder" /> + <div> + <p className="name name-placeholder"> </p> + <p className="bio bio-placeholder"> </p> + </div> + </div> + ); +} +``` + + +```js src/VanillaProfileCard.js +import { useRef } from 'react'; +import { fetchQuote } from './data.js'; +import { freshStylesheetUrl, freshImageUrl } from './resources.js'; + +export function VanillaProfileCard() { + const ref = useRef(null); + async function show() { + const quote = await fetchQuote(); + const doc = ref.current.contentWindow.document; + doc.open(); + doc.write(` + <style> + body { margin: 0; font-family: sans-serif; } + img { object-fit: cover; } + .profile-card { display: flex; gap: 12px; align-items: center; } + .profile-card img { border-radius: 50%; background: #dfe3e9; } + .name { margin: 0 0 4px; font-family: 'Caveat', sans-serif; font-size: 22px; line-height: 28px; font-weight: bold; } + .bio { margin: 0; font-family: 'Caveat', sans-serif; font-size: 20px; line-height: 26px; } + </style> + <div class="profile-card"> + <img src="${freshImageUrl()}" alt="Jack Pope" width="80" height="80" /> + <div> + <p class="name">Jack Pope</p> + <p class="bio">${quote}</p> + </div> + </div> + <link rel="stylesheet" href="${freshStylesheetUrl()}"> + `); + doc.close(); + } + return ( + <> + <button onClick={show}>Show profile (without React)</button> + <iframe ref={ref} title="Vanilla profile card" className="vanilla-frame" /> + </> + ); +} +``` + +```js src/resources.js hidden +// Add a unique parameter so the resources aren't cached, +// and every run shows the loading state. +export function freshStylesheetUrl() { + return ( + 'https://fonts.googleapis.com/css2?family=Caveat&display=swap' + + '&t=' + + Date.now() + ); +} + +export function freshImageUrl() { + return 'https://react.dev/images/team/jack-pope.jpg?t=' + Date.now(); +} +``` + +```js src/data.js hidden +// Note: the way you would do data fetching depends on +// the framework that you use together with Suspense. + +export async function fetchQuote() { + // Add a fake delay to make waiting noticeable. + await new Promise((resolve) => { + setTimeout(resolve, 250); + }); + return 'The best way to predict the future is to invent it.'; +} +``` + +```css +#root { + min-height: 320px; +} +button { + margin-right: 8px; +} +hr { + margin: 16px 0; +} +img { + object-fit: cover; +} +.profile-card { + display: flex; + gap: 12px; + align-items: center; + margin-top: 1em; +} +.profile-card img { + border-radius: 50%; + background: #dfe3e9; +} +.name { + margin: 0 0 4px; + font-family: 'Caveat', sans-serif; + font-size: 22px; + line-height: 28px; + font-weight: bold; +} +.bio { + margin: 0; + font-family: 'Caveat', sans-serif; + font-size: 20px; + line-height: 26px; +} +.profile-card img { + display: block; +} +.avatar-placeholder { + width: 80px; + height: 80px; + border-radius: 50%; + background: #dfe3e9; +} +.name-placeholder, +.bio-placeholder { + border-radius: 4px; + background: #dfe3e9; + color: transparent; +} +.name-placeholder { + width: 90px; +} +.bio-placeholder { + width: 220px; +} +.vanilla-frame { + display: block; + margin-top: 1em; + border: none; + width: 100%; + height: 110px; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +To learn more about waiting for images, fonts, or stylesheets to load, see the [Suspense docs](/reference/react/Suspense#waiting-for-a-font-to-load). + +--- + +### Fragment Refs {/*fragment-refs*/} + +When you need lower-level control over a component's DOM nodesโ€”for example to attach an event listener, observe visibility, or move focusโ€”you can usually use a ref. But there are some situations where this is difficult: + +- Components that render a group of siblings with no single parent +- Components that don't pass along their `ref` prop to another element + +```js +function Component() { + // How can we work with the list of DOM nodes rendered by this component? + return ( + {posts.map(post => ( + <Heading key={post.id}> + {post.title} + </Heading> + ))} + ) +} +``` + +Adding a wrapper `<div>` just to hold a ref sometimes works, but it can also interfere with your component's styling or layout. Moreover, if a component doesn't expose a `ref` prop, you would need to modify that component to do so, which might be impossible if it comes from a library you don't control. + +Fragment Refs solve these problems by providing a limited set of commonly used DOM methods that work with any React component, regardless of what it renders. + +In 19.3, you can use them by passing a ref directly to a [`<Fragment>`](/reference/react/Fragment). This ref gives you a `FragmentInstance`, which you can use to work with the Fragment's DOM children: + +```js {2,5-6,10} +function Component() { + const fragmentRef = useRef(null); + + useEffect(() => { + const fragmentInstance = fragmentRef.current; + fragmentInstance.focus(); + }, []); + + return ( + <Fragment ref={fragmentRef}> + {posts.map(post => ( + <Heading key={post.id}> + {post.title} + </Heading> + ))} + </Fragment> + ) +} +``` + +The `FragmentInstance` operates on the children's DOM _as a group_, without changing its structure: + +- `addEventListener`, `removeEventListener`, and `dispatchEvent` manage events for first-level children. +- `focus`, `focusLast`, and `blur` move focus across nested children, depth-first. +- `observeUsing` and `unobserveUsing` connect an `IntersectionObserver` or `ResizeObserver`. +- `getClientRects`, `getRootNode`, `compareDocumentPosition`, and `scrollIntoView` let you measure and scroll to the fragment's first-level children. + +Thus, Fragment Refs let you attach behavior to other components without requiring you to modify those component's internals, or without changing the DOM structure that they already produce. + +This example shows an `InView` component with an `onChange` prop that fires whenever its children enter or exit the viewport: + +<Sandpack> + +```js src/App.js active +import { useState } from 'react'; +import Card from './Card'; +import InView from './InView'; + +export default function App() { + const [isVisible, setIsVisible] = useState(true); + + return ( + <div className={isVisible ? 'page visible' : 'page'}> + <div className="filler">Scroll down</div> + + <InView onChange={setIsVisible}> + <Card title="First section" /> + <Card title="Second section" /> + </InView> + + <div className="filler">Scroll up</div> + </div> + ); +} +``` + +```js src/Card.js +export default function Card({ title }) { + return <div className="card">{title}</div>; +} +``` + +```js src/InView.js +import { + Fragment, + useRef, + useLayoutEffect, +} from 'react'; + +export default function InView({ onChange, children }) { + const fragmentRef = useRef(null); + + useLayoutEffect(() => { + const visibleElements = new Set(); + const observer = new IntersectionObserver( + (entries) => { + entries.forEach(e => { + if (e.isIntersecting) { + visibleElements.add(e.target); + } else { + visibleElements.delete(e.target); + } + }); + onChange(visibleElements.size > 0); + } + ); + const fragmentInstance = fragmentRef.current; + fragmentInstance.observeUsing(observer); + return () => { + fragmentInstance.unobserveUsing(observer); + }; + }, [onChange]); + + return ( + <Fragment ref={fragmentRef}> + {children} + </Fragment> + ); +} +``` + +```css +.page { + transition: background 0.3s; +} + +.page.visible { + background: #d4edda; +} + +.filler { + height: 500px; + display: flex; + align-items: center; + justify-content: center; + color: #aaa; + font-size: 14px; +} + +.card { + padding: 16px; + background: white; + border: 1px solid #ddd; + border-radius: 8px; + margin: 8px 16px; + box-shadow: 0 1px 3px rgba(0,0,0,0.08); + font-weight: 600; + font-size: 14px; +} +``` + + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +</Sandpack> + +Notice how `InView` is able to add behavior to its children, even though there's no single parent DOM element, and in spite of `Card` not exposing a `ref` prop. + +To learn more about working with Fragment Refs, see the [`<Fragment>` docs](/reference/react/Fragment). + +--- + +## New React DOM Features {/*new-react-dom-features*/} + +### `browser` {/*browser*/} + +If your app uses server rendering, your components will render in two different environments: + +- On the server, components render to produce the initial HTML +- On the client, components render to enrich that HTML with event handlers + +Most of time, your components should be able to produce HTML that matches their initial client-rendered output, ensuring they hydrate correctly while still letting users see as much content as possible on the initial load. + +But in rare cases, a component may not be able to produce meaningful UI on the server. For example, it might depend on a browser-only API like `localStorage`, or it might read from the browser's local timezone. In these cases, you may want to opt that component out of server rendering altogether. + +Previously, you might do this using some state that you'd update in an effect, or by checking for the presence of browser APIs like `window`: + +```js +function Component() { + const [mounted, setMounted] = useState(false); + + useEffect(() => { + setMounted(true) + }, []) + + // ... +} + +function Component() { + const isBrowser = typeof window !== 'undefined'; + + // ... +} +``` + +In 19.3, React now includes a first-class API for this technique. + +A component can call `use(browser())` to opt out of server-side rendering: + +```js {5} +import { use } from 'react'; +import { browser } from 'react-dom'; + +function Component() { + use(browser()); + + // ... +} +``` + +This will trigger Suspense on the server, but _not_ in the client. During server-side rendering, the nearest Suspense boundary's fallback will show in the HTML. Once the component is hydrated on the client, `use(browser())` does not suspend, allowing the component to continue rendering as normal. + +Here's an example of a component that renders the local time zone from your device. Press **Reload** to see the initial HTML followed by React's first render on the client: + +<Sandpack> + +```js +import { Suspense, use } from 'react'; +import { browser } from 'react-dom'; + +function TimeZone() { + use(browser()); + const timeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone; + + return <p>{timeZone}</p> +} + +export default function App() { + return ( + <> + <p>Your current time zone is:</p> + <Suspense fallback="Loading..."> + <TimeZone /> + </Suspense> + </> + ); +} +``` + + +```js src/Document.js hidden +import App from './App.js'; + +export default function Document() { + return ( + <html lang="en"> + <head> + <title>Event details + + + + + + + ); +} +``` + +```js src/index.js hidden +import { hydrateRoot } from 'react-dom/client'; +import { renderToReadableStream } from 'react-dom/server'; +import Document from './Document.js'; +import { flushReadableStreamToFrame } from './demo-helpers.js'; +import './styles.css'; + +async function main(frame) { + const stream = await renderToReadableStream(); + await flushReadableStreamToFrame(stream, frame); + + // Wait so both the fallback and hydrated content are visible. + await new Promise(resolve => setTimeout(resolve, 1200)); + hydrateRoot(frame.contentDocument, ); +} + +main(document.getElementById('preview')); +``` + +```js src/demo-helpers.js hidden +export async function flushReadableStreamToFrame(readable, frame) { + const doc = frame.contentWindow.document; + const decoder = new TextDecoder(); + const reader = readable.getReader(); + + while (true) { + const {done, value} = await reader.read(); + if (done) { + break; + } + doc.write(decoder.decode(value, {stream: true})); + } + + doc.write(decoder.decode()); + doc.close(); +} +``` + +```html public/index.html hidden + + + + + Conditional browser rendering + + + + + +``` + +```css src/styles.css hidden +iframe { + width: 100%; + height: 240px; + border: 0; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + + + +Because TimeZone suspends on the server, the initial HTML includes the Suspense fallback. After a small artificial delay, React hydrates the page, allowing the component to render as normal in the browser. + +Thus, for components that cannot produce meaningful UI during server rendering, `browser` lets you use Suspense for their loading states, allowing them to participate with other components that suspend until they're ready to render. + +--- + +Like other calls to `use`, `use(browser())` can be called inside a conditional statement or after an early return. This lets you write components or custom Hooks that can opt out of server rendering based on a condition, such as the value of a prop. + +Here's the same example from above, except now our TimeZone component accepts an optional default value it can render as part of the initial HTML: + + + +```js +import { Suspense, use } from 'react'; +import { browser } from 'react-dom'; + +function TimeZone({ defaultValue }) { + if (defaultValue) { + return

{defaultValue}

; + } + + use(browser()); + const localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone; + + return

{localTimeZone}

+} + +export default function App() { + return ( + <> +
+

The event's time zone is:

+ +
+ +
+ +
+

Your current time zone is:

+ + + +
+ + ); +} +``` + + +```js src/Document.js hidden +import App from './App.js'; + +export default function Document() { + return ( + + + Event details + + + + + + + ); +} +``` + +```js src/index.js hidden +import { hydrateRoot } from 'react-dom/client'; +import { renderToReadableStream } from 'react-dom/server'; +import Document from './Document.js'; +import { flushReadableStreamToFrame } from './demo-helpers.js'; +import './styles.css'; + +async function main(frame) { + const stream = await renderToReadableStream(); + await flushReadableStreamToFrame(stream, frame); + + // Wait so both the fallback and hydrated content are visible. + await new Promise(resolve => setTimeout(resolve, 1200)); + hydrateRoot(frame.contentDocument, ); +} + +main(document.getElementById('preview')); +``` + +```js src/demo-helpers.js hidden +export async function flushReadableStreamToFrame(readable, frame) { + const doc = frame.contentWindow.document; + const decoder = new TextDecoder(); + const reader = readable.getReader(); + + while (true) { + const {done, value} = await reader.read(); + if (done) { + break; + } + doc.write(decoder.decode(value, {stream: true})); + } + + doc.write(decoder.decode()); + doc.close(); +} +``` + +```html public/index.html hidden + + + + + Conditional browser rendering + + + + + +``` + +```css src/styles.css hidden +iframe { + width: 100%; + height: 240px; + border: 0; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + } +} +``` + +
+ +Notice how TimeZone only suspends in the second case, when no default is provided. + +Another useful example of this pattern is opting a data-fetching Hook like `useQuery` out of server rendering, unless that query's initial data was passed in (for example from a Server Component or framework's loader function): + +```js {3} +function useBrowserQuery(query, options) { + if (options.initialData === undefined) { + use(browser()); + } + + return useQuery(query, options); +} + +function ProductDetails({ productId, initialData }) { + const product = useBrowserQuery(`/api/products/${productId}`, { + initialData, + }); + + return

{product.name}

; +} +``` + +Now, the ProductDetails component can be included in the HTML, provided it receives `initialData` during server rendering. If not, it suspends until it gets rendered in the browser, at which point `useQuery` can fetch the data or read from its cache as normal. + +To learn more about `browser`, [check out the docs](/reference/react-dom/browser). + +--- + +### Trusted Types support {/*trusted-types-support*/} + +React 19.3 integrates with the browser [Trusted Types API](https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API), a security feature that helps prevent DOM-based XSS attacks. When a site enforces Trusted Types with `Content-Security-Policy: require-trusted-types-for 'script'`, the browser requires that values passed to injection sinks like `innerHTML` are typed objects (`TrustedHTML`, `TrustedScript`, `TrustedScriptURL`) created through your sanitization policies, rather than raw strings. + +Previously, React always coerced values to strings (via `'' + value`) before passing them to DOM APIs, which turned Trusted Types objects back into plain strings the browser would reject. React now passes these values through without coercion, so the browser can validate them and your Trusted Types policies work as intended. + +--- + +## New React Server Components Features {/*new-react-server-components-features*/} + +### `` can be rendered directly in Server Components {/*context-can-be-rendered-directly-in-server-components*/} + +While Server Components can't _create_ Context, they can _render_ Context by importing it from a `'use client'` module. + +Previously, this required the client module to export a separate wrapper component, often called a Provider: + +```js {7-9} +// user-context.js +'use client'; +import { createContext } from 'react'; + +export const UserContext = createContext(null); + +export function UserProvider({ currentUser, children }) { + return {children}; +} +``` + +```js {8} +// server-component.js +import { UserProvider } from './user-context'; + +export async function Layout({ children }) { + const currentUser = await getCurrentUser(); + + return ( + + {children} + + ) +} +``` + +Notice that in this example, the provider does nothing other than pass the prop from the Server Component directly to the Context. + +In React 19.3, Server Components can import and render Context directly from a `'use client'` module, without an additional wrapping component: + +```js {5} +// user-context.js +'use client'; +import { createContext } from 'react'; + +export const UserContext = createContext(null); +``` + +```js {8} +// server-component.js +import { UserContext } from './user-context'; + +export async function Layout({ children }) { + const currentUser = await getCurrentUser(); + + return ( + + {children} + + ) +} +``` + +This is especially useful for Contexts that solely exist to allow Server Components to share some data with the rest of the client tree. + + +--- + +## Changelog {/*changelog*/} + +Other notable changes +- `react`: Render Transitions independently instead of entangling them into a single render, so a slow Transition no longer holds up unrelated ones [#37290](https://github.com/react/react/pull/37290) +- `react-dom`: Double invoke Effects in Strict Mode during hydration, matching client-rendered roots [#35961](https://github.com/react/react/pull/35961) +- `react`: Add a warning when `use` is used incorrectly in a conditional [#37104](https://github.com/react/react/pull/37104) +- `react`: Rename "form state" to "action state" in `useActionState` error messages [#35790](https://github.com/react/react/pull/35790) +- `react-dom`: Add support for `onFullscreenChange` and `onFullscreenError` events [#34621](https://github.com/react/react/pull/34621) +- `react-dom`: Add support for the `maskType` SVG property [#35921](https://github.com/react/react/pull/35921) +- `react-dom`: Support `fetchPriority` for module resources [#36835](https://github.com/react/react/pull/36835) +- `react-dom`: Fire `onReset` when React automatically resets a form after a Server Action [#35176](https://github.com/react/react/pull/35176) +- `react-dom`: Include the `submitter` in `submit` events [#35590](https://github.com/react/react/pull/35590) +- `react-dom`: Recognize `credentialless` as a boolean attribute on iframes [#36148](https://github.com/react/react/pull/36148) +- `react-dom`: Batch updates from `resize` events until the next frame [#35117](https://github.com/react/react/pull/35117) +- `react-server`: Transport `Error.cause` [#35810](https://github.com/react/react/pull/35810) and `AggregateError.errors` [#36156](https://github.com/react/react/pull/36156) to the client +- `react-server`: Add support for `` in Flight [#34697](https://github.com/react/react/pull/34697) + +Notable bug fixes + +- `react`: Fix `useDeferredValue` getting stuck on an old value [#36134](https://github.com/react/react/pull/36134) +- `react`: Fix context propagation into Suspense fallbacks [#36160](https://github.com/react/react/pull/36160) and through suspended Suspense boundaries [#35839](https://github.com/react/react/pull/35839) +- `react`: Fix a hang when updating a dehydrated Suspense boundary inside a hidden tree [#37135](https://github.com/react/react/pull/37135) +- `react`: Fix `useSyncExternalStore` missing store mutations that happened while an `` tree was hidden [#36947](https://github.com/react/react/pull/36947) +- `react`: Fix `useEffectEvent` to read the latest values in `forwardRef` and `memo` components [#34831](https://github.com/react/react/pull/34831) +- `react`: Fix form status resetting when component state is updated [#34075](https://github.com/react/react/pull/34075) +- `react`: Fix several Fast Refresh bugs with `lazy`, `memo`, and edits that change a component's kind [#36965](https://github.com/react/react/pull/36965), [#36964](https://github.com/react/react/pull/36964), [#36963](https://github.com/react/react/pull/36963), [#36950](https://github.com/react/react/pull/36950) +- `react`: Fix a bug where `` was still hoisted to `<head>` after the `<Activity>` containing the `<title>` changed mode from `visible` to `hidden` [#34983](https://github.com/react/react/pull/34983) +- `react`: Don't let errors escape a hidden `<Activity>` [#35074](https://github.com/react/react/pull/35074) +- `react`: Hide portal contents rendered inside a hidden `<Activity>` [#35091](https://github.com/react/react/pull/35091) +- `react`: Don't reference the internal `<Offscreen>` type in error messages [#35763](https://github.com/react/react/pull/35763) +- `react-dom`: Fix focus for delegated and already-focused elements [#36010](https://github.com/react/react/pull/36010) +- `react-dom`: Fix a `FragmentInstance` listener leak by normalizing capture options per the DOM spec [#36047](https://github.com/react/react/pull/36047) +- `react-dom`: Fix a `<ViewTransition>` crash in Mobile Safari [#35337](https://github.com/react/react/pull/35337) +- `react-dom`: Fix a `<ViewTransition>` crash with `SuspenseList` [#35520](https://github.com/react/react/pull/35520) +- `react-dom`: Update `defaultValue` for `type="number"` inputs to match other input types [#36980](https://github.com/react/react/pull/36980) +- `react-dom`: Avoid setting `innerHTML` when it hasn't changed [#36949](https://github.com/react/react/pull/36949) +- `react-dom`: Fix a false-positive hydration mismatch on `nonce` attributes [#37030](https://github.com/react/react/pull/37030) +- `react-dom`: Fix `react-dom/server` hanging on Deno [#35235](https://github.com/react/react/pull/35235) +- `react-server`: Fix dropped `FormData` entries in `decodeReplyFromBusboy` [#36468](https://github.com/react/react/pull/36468) +- `react-server`: Fix a stack overflow with deep async chains [#35612](https://github.com/react/react/pull/35612) and a `RangeError` from exponential debug info growth [#37481](https://github.com/react/react/pull/37481) + +For a full list of changes, please see the [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md). + +--- + +_Thanks to [Sam Selikoff](https://x.com/samselikoff) for writing this post, and to [Matt Carroll](https://mattcarrollcode.com/), [Dan Abramov](https://bsky.app/profile/danabra.mov), and [Andrew Clark](https://x.com/acdlite) for reviewing this post._ diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index 4e7696152..6718d506a 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -24,12 +24,61 @@ September 10-11, 2026. In-person in Zurich, Switzerland [Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/) +### React Alicante 2026 {/*react-alicante-2026*/} +Sep 24 - 26, 2026. In-person in Alicante + +[Website](https://reactalicante.es//) - [Twitter](https://x.com/ReactAlicante) + +### CityJS Athens 2026 {/*cityjs-athens-2026*/} +October 21-23, 2026. In-person in Athens + +[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) + +### React Advanced London 2026 {/*react-advanced-london-2026*/} +October 23 & 26, 2026. In-person in London, UK + online (hybrid event) + +[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced) - [LinkedIn](https://www.linkedin.com/showcase/react-advanced-london/) + +### React Summit US 2026 {/*react-summit-us-2026*/} +November 17 & 20, 2026. In-person in New York, USA + online (hybrid event) + +[Website](https://reactsummit.us/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit) + +### React Day Berlin 2026 {/*react-day-berlin-2026*/} +December 4 & 7, 2026. In-person in Berlin, Germany + online (hybrid event) + +[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin) - [LinkedIn](https://www.linkedin.com/showcase/react-day-berlin/) + +### React Summit Asia 2027 {/*react-summit-asia-2027*/} +April 15 & 19, 2027. In-person in Singapore + online (hybrid event) + +[Website](https://reactsummit.asia/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit) + +### React Summit 2027 {/*react-summit-2027*/} +May 21 & 25, 2027. In-person in Amsterdam, Netherlands + online (hybrid event) + +[Website](https://reactsummit.com/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit) + + +## Past Conferences {/*past-conferences*/} + + ### React Conf Japan 2027 {/*react-conf-japan-2027*/} April 24, 2027. In-person in Tokyo, Japan [Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp) -## Past Conferences {/*past-conferences*/} +### CityJS London 2026 {/*cityjs-london-2026-past*/} +April 14-17, 2026. In-person in London + +[Website](https://india.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) + + +### React Paris 2026 {/*react-paris-2026-past*/} +March 26 - 27, 2026. In-person in Paris, France (hybrid event) + +[Website](https://react.paris/) - [Twitter](https://x.com/BeJS_) + ### CityJS New Delhi 2026 {/*cityjs-newdelhi-2026*/} February 12-13, 2026. In-person in New Delhi, India @@ -104,7 +153,7 @@ May 28 - 30, 2025. In-person in Krakรณw, Poland + remote ### CityJS London 2025 {/*cityjs-london*/} April 23 - 25, 2025. In-person in London, UK -[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) +[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) ### React Paris 2025 {/*react-paris-2025*/} March 20 - 21, 2025. In-person in Paris, France (hybrid event) diff --git a/src/content/learn/tutorial-tic-tac-toe.md b/src/content/learn/tutorial-tic-tac-toe.md index c563a7220..2e84a2664 100644 --- a/src/content/learn/tutorial-tic-tac-toe.md +++ b/src/content/learn/tutorial-tic-tac-toe.md @@ -911,11 +911,10 @@ React ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด React ์ปดํฌ๋„ŒํŠธ์˜ Props์™€ State๋ฅผ ![React ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋กœ ํŽ˜์ด์ง€์˜ ์ปดํฌ๋„ŒํŠธ ์„ ํƒํ•˜๊ธฐ](../images/tutorial/devtools-select.gif) -<Note> +![components tab](../images/tutorial/components-tab.png) ๋กœ์ปฌ ํ™˜๊ฒฝ์—์„œ ๊ฐœ๋ฐœํ•˜๋Š” ๊ฒฝ์šฐ, React ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋Š” [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/), ๊ทธ๋ฆฌ๊ณ  [Edge](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil) ๋ธŒ๋ผ์šฐ์ €์˜ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์„ค์น˜ ํ›„ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์— React๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์‚ฌ์ดํŠธ๋ฅผ ์œ„ํ•œ *Components* ํƒญ์ด ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค. -</Note> ## ๊ฒŒ์ž„ ์™„๋ฃŒํ•˜๊ธฐ {/*completing-the-game*/} diff --git a/src/content/reference/react-dom/browser.md b/src/content/reference/react-dom/browser.md new file mode 100644 index 000000000..8b0090575 --- /dev/null +++ b/src/content/reference/react-dom/browser.md @@ -0,0 +1,462 @@ +--- +title: browser +--- + +<Intro> + +`browser` lets you mark a component as browser-only during server rendering. + +```js +use(browser(reason?)) +``` + +</Intro> + +<InlineToc /> + +--- + +## Reference {/*reference*/} + +### `browser(reason?)` {/*browser*/} + +Call `browser` inside [`use`](/reference/react/use) to mark a component as browser-only during server rendering: + +```js +import { use } from 'react'; +import { browser } from 'react-dom'; + +function BrowserOnly() { + use(browser('This component requires browser APIs.')); + return <BrowserContent />; +} +``` + +During server rendering, `use(browser())` stops rendering the component and leaves the closest [`<Suspense>`](/reference/react/Suspense) boundary's fallback in its place. In the browser, `use(browser())` returns `undefined`, so the component renders normally. + +[See more examples below.](#usage) + +#### Parameters {/*parameters*/} + +* **optional** `reason`: A string or function that explains why the content needs to render in the browser. The string or the function's return value becomes the `cause` of the `Error` passed to [`onBrowserBailout`](#reporting-browser-only-rendering-on-the-server). React calls a reason function each time a server renderer encounters the value returned by `browser`, but does not call it in the browser. If creating the reason is expensive, pass a function such as `() => new Error(...)`. + +#### Returns {/*returns*/} + +`browser` returns an opaque value that you can pass to `use` in a component or use as the reason when [aborting a server render](#aborting-pending-server-rendering-for-the-browser). In the browser, passing this value to `use` returns `undefined`. + +#### Caveats {/*caveats*/} + +* `use(browser())` must be inside a `<Suspense>` boundary during server rendering. Without one, the server render fails. +* `use(browser())` must be called from a [Client Component](/reference/rsc/use-client), not a [Server Component](/reference/rsc/server-components). +* Calling `browser()` by itself has no effect. To mark a component as browser-only, pass the value returned by `browser` to `use`. Do not throw it. + +--- + +## Usage {/*usage*/} + +### Rendering content only in the browser {/*rendering-content-only-in-the-browser*/} + +Call `browser` inside `use` in a component that should only render in the browser: + +You can use this instead of checking `typeof window`, waiting for an [`Effect`](/reference/react/useEffect) to set mounted state, or using a framework option to disable server rendering. + +Click **Reload** to see the loading fallback in the initial HTML. After hydration, React displays the draft loaded from `localStorage`. + +<Sandpack> + +```js src/App.js active +import { Suspense, use, useState } from 'react'; +import { browser } from 'react-dom'; + +function SavedDraft() { + use(browser('The draft is stored in localStorage.')); + const [draft, setDraft] = useState( + () => localStorage.getItem('draft') ?? '' + ); + + function handleChange(event) { + const nextDraft = event.target.value; + setDraft(nextDraft); + localStorage.setItem('draft', nextDraft); + } + + return ( + <label> + Draft: + <textarea + value={draft} + onChange={handleChange} + rows={4} + cols={30} + /> + </label> + ); +} + +export default function App() { + return ( + <> + <h1>Saved draft</h1> + <Suspense fallback={<p>Loading draft...</p>}> + <SavedDraft /> + </Suspense> + </> + ); +} +``` + +```js src/Document.js hidden +import App from './App.js'; + +export default function Document() { + return ( + <html lang="en"> + <head> + <title>Saved draft + + + + + + + ); +} +``` + +```js src/index.js hidden +import { hydrateRoot } from 'react-dom/client'; +import { renderToReadableStream } from 'react-dom/server'; +import Document from './Document.js'; +import { flushReadableStreamToFrame } from './demo-helpers.js'; +import './styles.css'; + +async function main(frame) { + const stream = await renderToReadableStream(); + await flushReadableStreamToFrame(stream, frame); + + // Wait so both the fallback and hydrated content are visible. + await new Promise(resolve => setTimeout(resolve, 1200)); + hydrateRoot(frame.contentDocument, ); +} + +main(document.getElementById('preview')); +``` + +```js src/demo-helpers.js hidden +export async function flushReadableStreamToFrame(readable, frame) { + const doc = frame.contentWindow.document; + const decoder = new TextDecoder(); + const reader = readable.getReader(); + + while (true) { + const {done, value} = await reader.read(); + if (done) { + break; + } + doc.write(decoder.decode(value, {stream: true})); + } + + doc.write(decoder.decode()); + doc.close(); +} +``` + +```html public/index.html hidden + + + + + Browser-only rendering + + + + + +``` + +```css src/styles.css hidden +iframe { + width: 100%; + height: 160px; + border: 0; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test --env=jsdom", + "eject": "react-scripts eject" + } +} +``` + + + + + +`use(browser())` must be called from a Client Component. If your framework uses Server Components by default, add the [`'use client'`](/reference/rsc/use-client) directive to that file or move the call to a child Client Component: + +```js {1} +'use client'; + +import { use, useState } from 'react'; +import { browser } from 'react-dom'; + +export default function SavedDraft() { + use(browser('The saved draft is stored in localStorage.')); + const [draft] = useState(() => localStorage.getItem('draft') ?? ''); + return ; +} +``` + + + +--- + +### Conditionally rendering on the server {/*conditionally-rendering-on-the-server*/} + +Like other calls to [`use`](/reference/react/use), `use(browser())` can be called inside a conditional statement or after an early return. This lets a Component or custom Hook opt out of server rendering based on a condition, such as the value of a prop. + +For example, this `useTimeZone` Hook accepts an optional default value. When provided, React renders the default value in the initial HTML and in the browser. Without a default value, the Component suspends during server rendering and shows the device's local time zone in the browser. + +Click **Reload** to see the loading fallback before the user's time zone appears. + + + +```js src/App.js +import { Suspense } from 'react'; +import { useTimeZone } from './useTimeZone.js'; + +function TimeZone({label, defaultTimeZone}) { + const timeZone = useTimeZone(defaultTimeZone); + return

{label}: {timeZone}

; +} + +export default function App() { + return ( + <> +

Event details

+ + Loading your time zone...

}> + +
+ + ); +} +``` + +```js src/useTimeZone.js active +import { use } from 'react'; +import { browser } from 'react-dom'; + +export function useTimeZone(defaultTimeZone) { + if (defaultTimeZone !== undefined) { + return defaultTimeZone; + } + + use(browser('No default time zone was provided.')); + return Intl.DateTimeFormat().resolvedOptions().timeZone; +} +``` + +```js src/Document.js hidden +import App from './App.js'; + +export default function Document() { + return ( + + + Event details + + + + + + + ); +} +``` + +```js src/index.js hidden +import { hydrateRoot } from 'react-dom/client'; +import { renderToReadableStream } from 'react-dom/server'; +import Document from './Document.js'; +import { flushReadableStreamToFrame } from './demo-helpers.js'; +import './styles.css'; + +async function main(frame) { + const stream = await renderToReadableStream(); + await flushReadableStreamToFrame(stream, frame); + + // Wait so both the fallback and hydrated content are visible. + await new Promise(resolve => setTimeout(resolve, 1200)); + hydrateRoot(frame.contentDocument, ); +} + +main(document.getElementById('preview')); +``` + +```js src/demo-helpers.js hidden +export async function flushReadableStreamToFrame(readable, frame) { + const doc = frame.contentWindow.document; + const decoder = new TextDecoder(); + const reader = readable.getReader(); + + while (true) { + const {done, value} = await reader.read(); + if (done) { + break; + } + doc.write(decoder.decode(value, {stream: true})); + } + + doc.write(decoder.decode()); + doc.close(); +} +``` + +```html public/index.html hidden + + + + + Conditional browser rendering + + + + + +``` + +```css src/styles.css hidden +iframe { + width: 100%; + height: 240px; + border: 0; +} +``` + +```json package.json hidden +{ + "dependencies": { + "react": "19.3.0-canary-f1f7ed2a-20260904", + "react-dom": "19.3.0-canary-f1f7ed2a-20260904", + "react-scripts": "latest" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test --env=jsdom", + "eject": "react-scripts eject" + } +} +``` + +
+ +You can apply a similar pattern to conditionally avoid server rendering when using a Suspense-enabled data-fetching library: + +```js {3} +function useBrowserQuery(query, options) { + if (options.initialData === undefined) { + use(browser('useBrowserQuery: No initial data was provided.')); + } + + return useQuery(query, options); +} + +function ProductDetails({ productId, initialData }) { + const product = useBrowserQuery(`/api/products/${productId}`, { + initialData, + }); + + return

{product.name}

; +} +``` + +With `initialData`, React renders the Component to HTML on the server. Without it, React leaves the closest [``](/reference/react/Suspense) boundary's fallback in the HTML. In the browser, `useQuery` can fetch the data or read it from its client cache as usual. + +--- + +### Reporting browser-only rendering on the server {/*reporting-browser-only-rendering-on-the-server*/} + +Pass an `onBrowserBailout` callback to the server renderer to report browser-only rendering. When React leaves a Suspense fallback for the browser, it does not call the server renderer's `onError` callback or [`hydrateRoot`'s `onRecoverableError`](/reference/react-dom/client/hydrateRoot#error-logging-in-production) callback. This example also passes a reason, which is available as the reported error's `cause`: + +```js +import { Suspense, use, useState } from 'react'; +import { browser } from 'react-dom'; +import { renderToPipeableStream } from 'react-dom/server'; + +function SavedDraft() { + use(browser(() => new Error('The saved draft is stored in localStorage.'))); + const [draft] = useState(() => localStorage.getItem('draft') ?? ''); + return ; +} + +function App() { + return ( + Loading saved draft...

}> + +
+ ); +} + +const { pipe } = renderToPipeableStream(, { + onShellReady() { + pipe(response); + }, + onBrowserBailout(error, errorInfo) { + logBrowserBailout(error, errorInfo); + } +}); +``` + +`onBrowserBailout` receives two arguments: + +1. An `Error` describing the browser-only render. If you passed a reason to `browser`, it is available as the error's `cause`. +2. An `errorInfo` object with a `componentStack` showing where browser-only rendering occurred. + +The reason function can return any value. Return a new `Error` to give the cause its own stack without creating the `Error` in the browser. React does not serialize the reason into the HTML. + +If there is no Suspense boundary to provide a fallback, the server render fails. React reports the failure through the renderer's usual error callbacks instead of `onBrowserBailout`. + +--- + +### Aborting pending server rendering for the browser {/*aborting-pending-server-rendering-for-the-browser*/} + +If you call a server rendering API directly, you can stop waiting for pending content and let the browser finish rendering it. Pass the value returned by `browser` as the reason when aborting the server render. React then leaves pending Suspense boundaries in their fallback state and renders their content in the browser: + +```js {1,8} +import { browser } from 'react-dom'; +import { renderToPipeableStream } from 'react-dom/server'; + +const { pipe, abort } = renderToPipeableStream(, { + onShellReady() { + pipe(response); + setTimeout(() => { + abort(browser('The server render timed out.')); + }, 10000); + } +}); +``` + +A `browser` abort reason does not trigger the server renderer's `onError` callback or `hydrateRoot`'s `onRecoverableError` callback. Instead, the server renderer reports each recovered Suspense boundary to `onBrowserBailout`. + +For server rendering APIs that accept an [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal), pass `browser()` as the reason to [`AbortController.abort`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort). diff --git a/src/content/reference/react-dom/client/hydrateRoot.md b/src/content/reference/react-dom/client/hydrateRoot.md index 7df318bb3..471348985 100644 --- a/src/content/reference/react-dom/client/hydrateRoot.md +++ b/src/content/reference/react-dom/client/hydrateRoot.md @@ -316,6 +316,10 @@ export default function App() { ์ด ๋ฐฉ๋ฒ•์€ ์ฒ˜์Œ์—” ์„œ๋ฒ„์™€ ๋™์ผํ•œ ๊ฒฐ๊ณผ๋ฌผ์„ ๋ Œ๋”๋งํ•˜์—ฌ ๋ถˆ์ผ์น˜ ๋ฌธ์ œ๋ฅผ ํ”ผํ•˜๊ณ , Hydration ํ›„์— ์ƒˆ๋กœ์šด ๊ฒฐ๊ณผ๋ฌผ์ด ๋™๊ธฐ์ ์œผ๋กœ ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค. +Use this approach when you want the client-rendered content to be different from the initial server-rendered HTML. + +If a component should render only in the browser, call [`use(browser())`](/reference/react/use#use-browser) instead of waiting for an Effect. + ์ด ๋ฐฉ๋ฒ•์€ ๋‘ ๋ฒˆ ๋ Œ๋”๋งํ•ด์•ผ ํ•˜๊ธฐ ๋•Œ๋ฌธ์— Hydration์„ ๋А๋ฆฌ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค. ๋А๋ฆฐ ํ†ต์‹  ์ƒํƒœ์ผ ๊ฒฝ์šฐ์— ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์„ ์—ผ๋‘ํ•˜์„ธ์š”. ์ดˆ๊ธฐ HTML์ด ๋ Œ๋”๋ง๋œ ํ•œ์ฐธ ํ›„์—์•ผ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์ฝ”๋“œ๋ฅผ ๋ถˆ๋Ÿฌ์˜ต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ Hydration ์ดํ›„์— ๋ฐ”๋กœ ๋‹ค๋ฅธ UI๋ฅผ ๋ Œ๋”๋งํ•˜๋Š” ๊ฒƒ์€ ์‚ฌ์šฉ์ž์—๊ฒŒ UI๊ฐ€ ์‚๊ฑฑ๊ฑฐ๋ฆฌ๋Š” ๊ฒƒ์ฒ˜๋Ÿผ ๋ณด์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. diff --git a/src/content/reference/react-dom/components/img.md b/src/content/reference/react-dom/components/img.md new file mode 100644 index 000000000..4a1f45077 --- /dev/null +++ b/src/content/reference/react-dom/components/img.md @@ -0,0 +1,257 @@ +--- +title: "" +--- + + + +The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img) lets you embed an image. + +```js +A person walking through a park +``` + + + + + +--- + +## Reference {/*reference*/} + +### `` {/*img*/} + +To display an image, render the [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img). + +```js +A person walking through a park +``` + +[See more examples below.](#usage) + +#### Props {/*props*/} + +`` supports all [common element props.](/reference/react-dom/components/common#common-props) + +* `alt`: a string. Specifies alternative text for the image. Use an empty string for a purely decorative image. +* `crossOrigin`: a string. Specifies the [CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) to use when fetching the image. The possible values are `anonymous` and `use-credentials`. +* `decoding`: a string. Suggests whether the browser should wait to decode the image before presenting other content. The possible values are `async`, `sync`, and `auto` (the default). +* `fetchPriority`: a string. Suggests a relative priority for fetching the image. The possible values are `high`, `low`, and `auto` (the default). During server rendering, `fetchPriority="low"` also prevents React from [automatically preloading the image.](#controlling-image-preloading-during-server-rendering) +* `height`: a number or string. Specifies the rendered height of the image. +* `loading`: a string. Specifies whether the browser should defer loading the image until it is near the viewport. The possible values are `eager` (the default) and `lazy`. Setting `loading="lazy"` prevents React from [automatically preloading the image.](#controlling-image-preloading-during-server-rendering) +* `onError`: an [event handler](/reference/react-dom/components/common#event-handler) function. Fires when the image fails to load. +* `onLoad`: an [event handler](/reference/react-dom/components/common#event-handler) function. Fires when the image finishes loading. Passing `onLoad` prevents React from [waiting for the image during a client-rendered View Transition update.](#waiting-for-an-image-during-a-view-transition) +* `referrerPolicy`: a string. Specifies the [referrer information](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#referrerpolicy) to send when fetching the image. +* `sizes`: a string. Specifies the image sizes for different page layouts. Used with `srcSet`. +* `src`: a string. Specifies the URL of the image. +* `srcSet`: a string. Specifies one or more candidate image sources for the browser to choose from. +* `useMap`: a string. Associates the image with a [client-side image map](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map). +* `width`: a number or string. Specifies the rendered width of the image. + +#### Caveats {/*caveats*/} + +* Do not pass an empty string to `src`. It may cause the browser to request the current page again. React warns in development and omits the attribute. To render no image, omit the `` or pass `null` to `src`. +* `` cannot have children or use `dangerouslySetInnerHTML`. React throws an error if you pass either. +* `fetchPriority="low"` does not stop React from waiting for the image to load and decode during a client-rendered View Transition update. Use `loading="lazy"` or an `onLoad` handler to opt out of that behavior. + +--- + +## Usage {/*usage*/} + +### Displaying an image {/*displaying-an-image*/} + +Pass the image URL to `src` and a text description to `alt`: + + + +```js +export default function Profile() { + return ( + Hedy Lamarr + ); +} +``` + +```css +img { + border-radius: 50%; + object-fit: cover; +} +``` + + + +Specify `width` and `height` when you know the image dimensions so the browser can reserve space before the image loads. For a decorative image, pass `alt=""` so that screen readers ignore it. + +--- + +### Controlling image preloading during server rendering {/*controlling-image-preloading-during-server-rendering*/} + +During server rendering, React automatically generates a preload hint for an `` by default. This can let the browser start fetching the image before it encounters the `` in the rendered HTML. + +Add `loading="lazy"` or `fetchPriority="low"` to an image that should not receive this hint: + +```js +function ProductPage() { + return ( + <> + Featured product + Related product + Another product + + ); +} +``` + +In this example, React generates a preload hint only for `hero.jpg`. Depending on the server API or framework, React may render the equivalent of this element: + +```html + +``` + +React may instead provide the same hint in a `Link` response header. The other two images keep their `loading` and `fetchPriority` props in the rendered HTML, but React does not generate preload hints for them. The `loading="lazy"` prop asks the browser to defer loading an image until it approaches the viewport. The `fetchPriority="low"` prop allows the image to load immediately, but tells the browser to fetch it at a lower priority. + +React also does not automatically preload an image when it is inside a `` or `